From 5ce27e8c92abed2f247c52f76f0b698fa2b74192 Mon Sep 17 00:00:00 2001 From: Guillaume Poirier Date: Sat, 9 Jun 2007 22:20:24 +0000 Subject: [PATCH] minor GCC3 compile fix (there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down) Originally committed as revision 9265 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/h264_altivec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c index 8910ac986f..b378a4556e 100644 --- a/libavcodec/ppc/h264_altivec.c +++ b/libavcodec/ppc/h264_altivec.c @@ -717,7 +717,7 @@ static inline vector unsigned char diff_lt_altivec ( register vector unsigned ch register vector unsigned char diff = vec_subs(x, y); register vector unsigned char diffneg = vec_subs(y, x); register vector unsigned char o = vec_or(diff, diffneg); /* |x-y| */ - o = vec_cmplt(o, a); + o = (vector unsigned char)vec_cmplt(o, a); return o; }