Mercurial > libavcodec.hg
diff cyuv.c @ 3776:1843a85123b7 libavcodec
fix some signedness warnings
| author | mru |
|---|---|
| date | Wed, 27 Sep 2006 19:47:39 +0000 |
| parents | 0b546eab515d |
| children | c8c591fe26f8 |
line wrap: on
line diff
--- a/cyuv.c Wed Sep 27 19:46:19 2006 +0000 +++ b/cyuv.c Wed Sep 27 19:47:39 2006 +0000 @@ -75,9 +75,9 @@ int v_ptr; /* prediction error tables (make it clear that they are signed values) */ - signed char *y_table = buf + 0; - signed char *u_table = buf + 16; - signed char *v_table = buf + 32; + signed char *y_table = (signed char*)buf + 0; + signed char *u_table = (signed char*)buf + 16; + signed char *v_table = (signed char*)buf + 32; unsigned char y_pred, u_pred, v_pred; int stream_ptr;
