Probably fix an assumed PPC64 warning
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 6 Sep 2009 16:04:22 +0000 (19:04 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 6 Sep 2009 16:04:22 +0000 (19:04 +0300)
modules/video_filter/deinterlace.c

index 6243625..7a92d93 100644 (file)
@@ -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;
     }