# HG changeset patch # User michael # Date 1202087067 0 # Node ID 9fefe2df675654f404e588f170e53cd3665004a5 # Parent 6eaceb561ae92bf4494c0e3d5fc78b99b91b2b93 Remove incorrect cast found by -Wwrite-strings. diff -r 6eaceb561ae9 -r 9fefe2df6756 matroskadec.c --- a/matroskadec.c Mon Feb 04 01:01:52 2008 +0000 +++ b/matroskadec.c Mon Feb 04 01:04:27 2008 +0000 @@ -2234,7 +2234,7 @@ return AVERROR(ENOMEM); init_put_byte(&b, extradata, extradata_size, 1, NULL, NULL, NULL, NULL); - put_buffer(&b, (uint8_t *) "TTA1", 4); + put_buffer(&b, "TTA1", 4); put_le16(&b, 1); put_le16(&b, audiotrack->channels); put_le16(&b, audiotrack->bitdepth);