[vlc-devel] commit: Probably fix an assumed PPC64 warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Sep 6 18:04:47 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep  6 19:04:22 2009 +0300| [adf9334fa73a5d1d73e8653fc0a31c7c7c67d068] | committer: Rémi Denis-Courmont 

Probably fix an assumed PPC64 warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=adf9334fa73a5d1d73e8653fc0a31c7c7c67d068
---

 modules/video_filter/deinterlace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
index 6243625..7a92d93 100644
--- a/modules/video_filter/deinterlace.c
+++ b/modules/video_filter/deinterlace.c
@@ -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;
     }




More information about the vlc-devel mailing list