diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-05 21:34:04 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-05 21:34:04 +0000 |
commit | cd74679ec698242b8356cf89e2030cb060be286c (patch) | |
tree | 52fdf423cf5a8abab0cd07f08811937c91f4bfeb /postproc | |
parent | c2c8b4874c8c29075dfa34ebb16be7870b965e34 (diff) | |
download | mpv-cd74679ec698242b8356cf89e2030cb060be286c.tar.bz2 mpv-cd74679ec698242b8356cf89e2030cb060be286c.tar.xz |
make gcc happy under hurd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12125 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/yuv2rgb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/postproc/yuv2rgb.c b/postproc/yuv2rgb.c index a35977975c..b27f3690a0 100644 --- a/postproc/yuv2rgb.c +++ b/postproc/yuv2rgb.c @@ -159,13 +159,13 @@ const uint8_t __attribute__((aligned(8))) dither_8x8_220[8][8]={ #ifdef ARCH_X86 /* hope these constant values are cache line aligned */ -uint64_t __attribute__((aligned(8))) mmx_00ffw = 0x00ff00ff00ff00ff; -uint64_t __attribute__((aligned(8))) mmx_redmask = 0xf8f8f8f8f8f8f8f8; -uint64_t __attribute__((aligned(8))) mmx_grnmask = 0xfcfcfcfcfcfcfcfc; +uint64_t __attribute__((aligned(8))) mmx_00ffw = 0x00ff00ff00ff00ffULL; +uint64_t __attribute__((aligned(8))) mmx_redmask = 0xf8f8f8f8f8f8f8f8ULL; +uint64_t __attribute__((aligned(8))) mmx_grnmask = 0xfcfcfcfcfcfcfcfcULL; -uint64_t __attribute__((aligned(8))) M24A= 0x00FF0000FF0000FFLL; -uint64_t __attribute__((aligned(8))) M24B= 0xFF0000FF0000FF00LL; -uint64_t __attribute__((aligned(8))) M24C= 0x0000FF0000FF0000LL; +uint64_t __attribute__((aligned(8))) M24A= 0x00FF0000FF0000FFULL; +uint64_t __attribute__((aligned(8))) M24B= 0xFF0000FF0000FF00ULL; +uint64_t __attribute__((aligned(8))) M24C= 0x0000FF0000FF0000ULL; // the volatile is required because gcc otherwise optimizes some writes away not knowing that these // are read in the asm block |