diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-05-11 00:22:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-05-11 00:22:50 +0000 |
commit | 22cb6fb60fbca612339e0a40f6503a7b8eb9ebfd (patch) | |
tree | d6deb1c587a28fe660fde34db5f55e5309e256ff | |
parent | 1c71b5c89ab5e683a412500de1e2dbf921178e3e (diff) | |
download | ffmpeg-22cb6fb60fbca612339e0a40f6503a7b8eb9ebfd.tar.gz |
Adding missing () to mathops.h.
Originally committed as revision 23083 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/x86/mathops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h index 010cfb70bb..5949dfe3d4 100644 --- a/libavcodec/x86/mathops.h +++ b/libavcodec/x86/mathops.h @@ -31,17 +31,17 @@ "imull %3 \n\t"\ "shrdl %4, %%edx, %%eax \n\t"\ : "=a"(rt), "=d"(dummy)\ - : "a" ((int)ra), "rm" ((int)rb), "i"(shift));\ + : "a" ((int)(ra)), "rm" ((int)(rb)), "i"(shift));\ rt; }) #define MULH(ra, rb) \ ({ int rt, dummy;\ - __asm__ ("imull %3\n\t" : "=d"(rt), "=a"(dummy): "a" ((int)ra), "rm" ((int)rb));\ + __asm__ ("imull %3\n\t" : "=d"(rt), "=a"(dummy): "a" ((int)(ra)), "rm" ((int)(rb)));\ rt; }) #define MUL64(ra, rb) \ ({ int64_t rt;\ - __asm__ ("imull %2\n\t" : "=A"(rt) : "a" ((int)ra), "g" ((int)rb));\ + __asm__ ("imull %2\n\t" : "=A"(rt) : "a" ((int)(ra)), "g" ((int)(rb)));\ rt; }) #endif |