diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-10 15:09:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-10 15:09:04 +0200 |
commit | 54e64eaf68e08aa69a441b783dd51304e64ca479 (patch) | |
tree | eda552ede9f36a2fad021e2dd5cf095b6fb9c0db /libswscale/x86/swscale.c | |
parent | a649f36f75f6e3493f17eed3fa8b6db4fb981bd0 (diff) | |
download | ffmpeg-54e64eaf68e08aa69a441b783dd51304e64ca479.tar.gz |
swscale/x86/swscale: Fix warning about loosing significant bits in cast
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/x86/swscale.c')
-rw-r--r-- | libswscale/x86/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index a06d1f2102..d611b76c73 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -201,7 +201,7 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) { - if(((int)dest) & 15){ + if(((uintptr_t)dest) & 15){ yuv2yuvX_mmxext(filter, filterSize, src, dest, dstW, dither, offset); return; } |