summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libswscale/x86/swscale.c2
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;
}