changeset 2233:886efa933499 libavformat

kill harmless 64-bit pointer cast warning
author mru
date Sun, 08 Jul 2007 13:42:44 +0000
parents 77ed2f4105b7
children 2bc002540a9b
files movenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Sun Jul 08 13:42:42 2007 +0000
+++ b/movenc.c	Sun Jul 08 13:42:44 2007 +0000
@@ -407,7 +407,7 @@
 
 static uint8_t *avc_find_startcode( uint8_t *p, uint8_t *end )
 {
-    uint8_t *a = p + 4 - ((int)p & 3);
+    uint8_t *a = p + 4 - ((long)p & 3);
 
     for( end -= 3; p < a && p < end; p++ ) {
         if( p[0] == 0 && p[1] == 0 && p[2] == 1 )