Commit 54e64eaf authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/x86/swscale: Fix warning about loosing significant bits in cast

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a649f36f
...@@ -201,7 +201,7 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize, ...@@ -201,7 +201,7 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
const int16_t **src, uint8_t *dest, int dstW, const int16_t **src, uint8_t *dest, int dstW,
const uint8_t *dither, int offset) const uint8_t *dither, int offset)
{ {
if(((int)dest) & 15){ if(((uintptr_t)dest) & 15){
yuv2yuvX_mmxext(filter, filterSize, src, dest, dstW, dither, offset); yuv2yuvX_mmxext(filter, filterSize, src, dest, dstW, dither, offset);
return; return;
} }
......
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