# HG changeset patch # User aurel # Date 1178389023 0 # Node ID b0a24fa7cbea327a6ac35b5be1922c3469ea1ebe # Parent b7bde71aa752bf5a5ad42be2e69e4e92a0f8b680 avoid a 'discards qualifiers from pointer' warning diff -r b7bde71aa752 -r b0a24fa7cbea mpegaudio_parser.c --- a/mpegaudio_parser.c Sat May 05 18:08:16 2007 +0000 +++ b/mpegaudio_parser.c Sat May 05 18:17:03 2007 +0000 @@ -186,7 +186,7 @@ if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf && buf_size + buf_ptr - buf >= s->frame_size){ if(s->header_count > 0){ - *poutbuf = buf; + *poutbuf = (uint8_t *)buf; *poutbuf_size = s->frame_size; } buf_ptr = buf + s->frame_size;