[MPlayer-cvslog] r25337 - trunk/TOOLS/vivodump.c

diego subversion at mplayerhq.hu
Mon Dec 10 14:16:11 CET 2007


Author: diego
Date: Mon Dec 10 14:16:10 2007
New Revision: 25337

Log:
Fix printf format string length modifiers, removes the warnings:
vivodump.c:213: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'long int'
vivodump.c:220: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'long int'


Modified:
   trunk/TOOLS/vivodump.c

Modified: trunk/TOOLS/vivodump.c
==============================================================================
--- trunk/TOOLS/vivodump.c	(original)
+++ trunk/TOOLS/vivodump.c	Mon Dec 10 14:16:10 2007
@@ -210,14 +210,14 @@ for(i=0;i<len;i++) fgetc(f);
 
 while((c=fgetc(f))>=0){
 
-    printf("%08X  %02X\n",ftell(f),c);
+    printf("%08lX  %02X\n",ftell(f),c);
 
     prefix=0;
     if(c==0x82){
 	prefix=1;
 	//continue;
 	c=fgetc(f);
-	printf("%08X  %02X\n",ftell(f),c);
+	printf("%08lX  %02X\n",ftell(f),c);
     }
 
     if(c==0x00){



More information about the MPlayer-cvslog mailing list