[Scummvm-cvs-logs] SF.net SVN: scummvm:[39838] scummvm/trunk/tools
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Apr 4 15:15:42 CEST 2009
Revision: 39838
http://scummvm.svn.sourceforge.net/scummvm/?rev=39838&view=rev
Author: lordhoto
Date: 2009-04-04 13:15:41 +0000 (Sat, 04 Apr 2009)
Log Message:
-----------
Fix warnings.
Modified Paths:
--------------
scummvm/trunk/tools/convbdf.c
scummvm/trunk/tools/md5table.c
Modified: scummvm/trunk/tools/convbdf.c
===================================================================
--- scummvm/trunk/tools/convbdf.c 2009-04-04 13:13:14 UTC (rev 39837)
+++ scummvm/trunk/tools/convbdf.c 2009-04-04 13:15:41 UTC (rev 39838)
@@ -152,7 +152,7 @@
" -n Don't generate bitmaps as comments in .c file\n"
};
- fprintf(stderr, help);
+ fprintf(stderr, "%s", help);
}
/* parse command line options*/
Modified: scummvm/trunk/tools/md5table.c
===================================================================
--- scummvm/trunk/tools/md5table.c 2009-04-04 13:13:14 UTC (rev 39837)
+++ scummvm/trunk/tools/md5table.c 2009-04-04 13:15:41 UTC (rev 39838)
@@ -356,7 +356,7 @@
buffer[0] = '\0';
for (i = 0; i < numEntries; ++i) {
const char *currentEntry = entriesBuffer + i * entrySize;
- fprintf(outFile, currentEntry);
+ fprintf(outFile, "%s", currentEntry);
if (strncmp(currentEntry + 4, buffer, 32) == 0) {
warning("Duplicate MD5 found '%.32s'", buffer);
} else {
@@ -364,7 +364,7 @@
}
}
/* Finally, print the footer */
- fprintf(outFile, c_footer);
+ fprintf(outFile, "%s", c_footer);
}
free(entriesBuffer);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list