[x264-devel] commit: fix compilation with GCC-4.3+ (Guillaume	Poirier )
    git version control 
    git at videolan.org
       
    Fri Dec  5 22:55:06 CET 2008
    
    
  
x264 | branch: master | Guillaume Poirier <gpoirier at mplayerhq.hu> | Fri Dec  5 22:26:55 2008 +0100| [f773bf06256a467f6b18418d97ce2c7ddbe5728c] | committer: Guillaume Poirier 
fix compilation with GCC-4.3+
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=f773bf06256a467f6b18418d97ce2c7ddbe5728c
---
 common/ppc/ppccommon.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/ppc/ppccommon.h b/common/ppc/ppccommon.h
index 78eb906..b9b718d 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); \
    
    
More information about the x264-devel
mailing list