# HG changeset patch # User diego # Date 1197292570 0 # Node ID 8e73e469970c9e4519835399dbfabf182bcdcfa5 # Parent 7fdb9b2b67700fdbc15c87aea1bdba21d93c9690 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' diff -r 7fdb9b2b6770 -r 8e73e469970c TOOLS/vivodump.c --- 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){