changeset 25309:8e73e469970c

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'
author diego
date Mon, 10 Dec 2007 13:16:10 +0000
parents 7fdb9b2b6770
children e3c5cd98d59a
files TOOLS/vivodump.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/vivodump.c	Mon Dec 10 13:11:26 2007 +0000
+++ b/TOOLS/vivodump.c	Mon Dec 10 13:16:10 2007 +0000
@@ -210,14 +210,14 @@
 
 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){