changeset 4543:d0c94a0d43ca libavcodec

fix for x86-64
author mru
date Sun, 18 Feb 2007 20:00:05 +0000
parents 163a74817d83
children f89d4caa8d4e
files i386/dsputil_h264_template_mmx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_h264_template_mmx.c	Sun Feb 18 19:12:20 2007 +0000
+++ b/i386/dsputil_h264_template_mmx.c	Sun Feb 18 20:00:05 2007 +0000
@@ -246,7 +246,7 @@
         "sub $2, %2                 \n\t"
         "jnz 1b                     \n\t"
         : "+r"(dst), "+r"(src), "+r"(h)
-        : "r"(stride), "m"(ff_pw_32), "m"(x), "m"(y), "m"(ff_pw_8)
+        : "r"((long)stride), "m"(ff_pw_32), "m"(x), "m"(y), "m"(ff_pw_8)
     );
 }