Commit adf9334f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Probably fix an assumed PPC64 warning

parent b1a87e00
......@@ -1059,7 +1059,7 @@ static void MergeAltivec( void *_p_dest, const void *_p_s1,
uint8_t *p_end = p_dest + i_bytes - 15;
/* Use C until the first 16-bytes aligned destination pixel */
while( (int)p_dest & 0xF )
while( (uintptr_t)p_dest & 0xF )
{
*p_dest++ = ( (uint16_t)(*p_s1++) + (uint16_t)(*p_s2++) ) >> 1;
}
......
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