From 8f1718dd82e95d6d30ba346cdbf1f93adfcd1ae8 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Tue, 16 Sep 2003 19:34:25 +0000 Subject: Fix some compiler warnings. CVS patchset: 5396 CVS date: 2003/09/16 19:34:25 --- src/video_out/yuv2rgb_mmx.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/video_out/yuv2rgb_mmx.c b/src/video_out/yuv2rgb_mmx.c index 76992ece6..75762e7fd 100644 --- a/src/video_out/yuv2rgb_mmx.c +++ b/src/video_out/yuv2rgb_mmx.c @@ -110,8 +110,8 @@ void mmx_yuv2rgb_set_csc_levels(yuv2rgb_factory_t *this, static inline void mmx_yuv2rgb (uint8_t * py, uint8_t * pu, uint8_t * pv, mmx_csc_t *csc) { - static mmx_t mmx_80w = {0x0080008000800080}; - static mmx_t mmx_00ffw = {0x00ff00ff00ff00ff}; + static mmx_t mmx_80w = {0x0080008000800080ULL}; + static mmx_t mmx_00ffw = {0x00ff00ff00ff00ffULL}; movq_m2r (*py, mm6); // mm6 = Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 pxor_r2r (mm4, mm4); // mm4 = 0 @@ -212,9 +212,9 @@ static inline void mmx_yuv2rgb (uint8_t * py, uint8_t * pu, uint8_t * pv, mmx_cs // basic opt static inline void mmx_unpack_16rgb (uint8_t * image, int cpu) { - static mmx_t mmx_bluemask = {0xf8f8f8f8f8f8f8f8}; - static mmx_t mmx_greenmask = {0xfcfcfcfcfcfcfcfc}; - static mmx_t mmx_redmask = {0xf8f8f8f8f8f8f8f8}; + static mmx_t mmx_bluemask = {0xf8f8f8f8f8f8f8f8ULL}; + static mmx_t mmx_greenmask = {0xfcfcfcfcfcfcfcfcULL}; + static mmx_t mmx_redmask = {0xf8f8f8f8f8f8f8f8ULL}; /* * convert RGB plane to RGB 16 bits @@ -257,9 +257,9 @@ static inline void mmx_unpack_16rgb (uint8_t * image, int cpu) static inline void mmx_unpack_15rgb (uint8_t * image, int cpu) { - static mmx_t mmx_bluemask = {0xf8f8f8f8f8f8f8f8}; - static mmx_t mmx_greenmask = {0xf8f8f8f8f8f8f8f8}; - static mmx_t mmx_redmask = {0xf8f8f8f8f8f8f8f8}; + static mmx_t mmx_bluemask = {0xf8f8f8f8f8f8f8f8ULL}; + static mmx_t mmx_greenmask = {0xf8f8f8f8f8f8f8f8ULL}; + static mmx_t mmx_redmask = {0xf8f8f8f8f8f8f8f8ULL}; /* * convert RGB plane to RGB 15 bits -- cgit v1.2.3