Commit c77eb4ee authored by Michael Niedermayer's avatar Michael Niedermayer

sws: fix warning: cast from pointer to integer of different size

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3cd137bf
......@@ -416,7 +416,8 @@ static int swScale(SwsContext *c, const uint8_t *src[],
}
}
if ((int)dst[0]%16 || (int)dst[1]%16 || (int)dst[2]%16 || (int)src[0]%16 || (int)src[1]%16 || (int)src[2]%16
if ( (uintptr_t)dst[0]%16 || (uintptr_t)dst[1]%16 || (uintptr_t)dst[2]%16
|| (uintptr_t)src[0]%16 || (uintptr_t)src[1]%16 || (uintptr_t)src[2]%16
|| dstStride[0]%16 || dstStride[1]%16 || dstStride[2]%16 || dstStride[3]%16
|| srcStride[0]%16 || srcStride[1]%16 || srcStride[2]%16 || srcStride[3]%16
) {
......
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