aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohannes Schickel2009-04-04 13:15:41 +0000
committerJohannes Schickel2009-04-04 13:15:41 +0000
commit942dd9b84573df0ef750b61481fb51b0d613a08c (patch)
tree4297161ef4f4318facad5126f32ffdc70bd04157 /tools
parentefa4e918d22c55e013401fa22d8596f945d2cf88 (diff)
downloadscummvm-rg350-942dd9b84573df0ef750b61481fb51b0d613a08c.tar.gz
scummvm-rg350-942dd9b84573df0ef750b61481fb51b0d613a08c.tar.bz2
scummvm-rg350-942dd9b84573df0ef750b61481fb51b0d613a08c.zip
Fix warnings.
svn-id: r39838
Diffstat (limited to 'tools')
-rw-r--r--tools/convbdf.c2
-rw-r--r--tools/md5table.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index 526f34bdf5..393a7ebc46 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -152,7 +152,7 @@ usage(void)
" -n Don't generate bitmaps as comments in .c file\n"
};
- fprintf(stderr, help);
+ fprintf(stderr, "%s", help);
}
/* parse command line options*/
diff --git a/tools/md5table.c b/tools/md5table.c
index c8f7eb9e09..f4aacb8e31 100644
--- a/tools/md5table.c
+++ b/tools/md5table.c
@@ -356,7 +356,7 @@ int main(int argc, char *argv[])
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 @@ int main(int argc, char *argv[])
}
}
/* Finally, print the footer */
- fprintf(outFile, c_footer);
+ fprintf(outFile, "%s", c_footer);
}
free(entriesBuffer);