Mercurial > mplayer.hg
changeset 17599:c7d0f6322721
forgotten cast (blows on gcc4)
author | henry |
---|---|
date | Sun, 12 Feb 2006 10:51:04 +0000 |
parents | 4b8193d51bda |
children | 6fa1149d8c80 |
files | libmpdemux/demuxer.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;