Mercurial > mplayer.hg
diff libmpdemux/demuxer.h @ 17599:c7d0f6322721
forgotten cast (blows on gcc4)
author | henry |
---|---|
date | Sun, 12 Feb 2006 10:51:04 +0000 |
parents | a3a4f7408f90 |
children | 831762e82a47 |
line wrap: on
line diff
--- a/libmpdemux/demuxer.h Sun Feb 12 09:58:27 2006 +0000 +++ b/libmpdemux/demuxer.h Sun Feb 12 10:51:04 2006 +0000 @@ -190,7 +190,7 @@ dp->flags=0; dp->refcount=1; dp->master=NULL; - if (len > 0 && (dp->buffer = malloc(len + 8))) + if (len > 0 && (dp->buffer = (unsigned char *)malloc(len + 8))) memset(dp->buffer + len, 0, 8); else dp->len = 0;