summaryrefslogtreecommitdiff
path: root/libavcodec/cyuv.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-09-27 19:47:39 +0000
committerMåns Rullgård <mans@mansr.com>2006-09-27 19:47:39 +0000
commit191e8ca75279073699e0c0f25128b2b2088d1cbb (patch)
tree7c9089d9008566884d42bad2f3294eb318a0e5d9 /libavcodec/cyuv.c
parentd80f243ae996ced4bce81b12ada3af7803ce36f0 (diff)
downloadffmpeg-191e8ca75279073699e0c0f25128b2b2088d1cbb.tar.gz
fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cyuv.c')
-rw-r--r--libavcodec/cyuv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c
index b64e1a58bf..d677e1002a 100644
--- a/libavcodec/cyuv.c
+++ b/libavcodec/cyuv.c
@@ -75,9 +75,9 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
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;