From: Guillaume Poirier Date: Fri, 5 Dec 2008 21:26:55 +0000 (+0100) Subject: fix compilation with GCC-4.3+ X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=f773bf06256a467f6b18418d97ce2c7ddbe5728c;p=x264.git fix compilation with GCC-4.3+ --- diff --git a/common/ppc/ppccommon.h b/common/ppc/ppccommon.h index 78eb9063..b9b718d3 100644 --- a/common/ppc/ppccommon.h +++ b/common/ppc/ppccommon.h @@ -251,7 +251,7 @@ typedef union { * and i2 **********************************************************************/ #define VEC_DIFF_HL(p1,i1,p2,i2,dh,dl) \ - pix1v = vec_ld(0, p1); \ + pix1v = (vec_s16_t)vec_ld(0, p1); \ temp0v = vec_u8_to_s16_h( pix1v ); \ temp1v = vec_u8_to_s16_l( pix1v ); \ VEC_LOAD( p2, pix2v, 16, vec_s16_t, p2); \