Fixed format warnings.

This commit is contained in:
Mikolaj Stawiski
2018-11-25 13:48:04 +11:00
parent 7ca85a02de
commit 793d5adde6
3 changed files with 3 additions and 3 deletions

View File

@@ -714,7 +714,7 @@ main(int argc, const char *argv[])
size_t szDump;
if (((szDump = fread(&mtDump, 1, sizeof(mtDump), pfDump)) != iDumpSize && !bPart) || szDump <= 0) {
ERR("Could not read from dump file or size mismatch: %s (read %lu, expected %lu)\n", argv[2], szDump, iDumpSize);
ERR("Could not read from dump file or size mismatch: %s (read %lu, expected %lu)\n", argv[2], (unsigned long)szDump, (unsigned long)iDumpSize);
fclose(pfDump);
exit(EXIT_FAILURE);
}