Commit b6166005 authored by Michael Niedermayer's avatar Michael Niedermayer

sws: replace long by x86_reg in x86 asm

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 35075dc6
......@@ -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
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment