From 191e8ca75279073699e0c0f25128b2b2088d1cbb Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Wed, 27 Sep 2006 19:47:39 +0000 Subject: fix some signedness warnings Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cyuv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/cyuv.c') 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; -- cgit v1.2.3