Mercurial > libavcodec.hg
diff mjpeg.c @ 3776:1843a85123b7 libavcodec
fix some signedness warnings
author | mru |
---|---|
date | Wed, 27 Sep 2006 19:47:39 +0000 |
parents | 9a6bbda8cf7e |
children | a31f865dd68d |
line wrap: on
line diff
--- a/mjpeg.c Wed Sep 27 19:46:19 2006 +0000 +++ b/mjpeg.c Wed Sep 27 19:47:39 2006 +0000 @@ -1801,7 +1801,7 @@ { int len = get_bits(&s->gb, 16); if (len >= 2 && 8*len - 16 + get_bits_count(&s->gb) <= s->gb.size_in_bits) { - uint8_t *cbuf = av_malloc(len - 1); + char *cbuf = av_malloc(len - 1); if (cbuf) { int i; for (i = 0; i < len - 2; i++)