changeset 5120:ae7f2c01811f libavcodec

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)
author gpoirier
date Sat, 09 Jun 2007 22:20:24 +0000
parents ad0c45e0008c
children 71d080656056
files ppc/h264_altivec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/h264_altivec.c	Sat Jun 09 19:13:34 2007 +0000
+++ b/ppc/h264_altivec.c	Sat Jun 09 22:20:24 2007 +0000
@@ -717,7 +717,7 @@
     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;
 }