From b616600516a0b46c365ee4fbd65167d6d276a9ad Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 24 Oct 2011 12:23:51 +0200 Subject: [PATCH] sws: replace long by x86_reg in x86 asm Signed-off-by: Michael Niedermayer --- libswscale/x86/swscale_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c index 2659c54117..0f177176cb 100644 --- a/libswscale/x86/swscale_template.c +++ b/libswscale/x86/swscale_template.c @@ -127,7 +127,7 @@ static void RENAME(yuv2yuv1_ar)(const int16_t *src, uint8_t *dst, int dstW, cons "add $8, %%"REG_a" \n\t" "jnc 1b \n\t" :: "r" (src + dstW), "r" (dst + dstW), - "g" ((long)-dstW) + "g" ((x86_reg)-dstW) : "%"REG_a ); }