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

@ -695,7 +695,7 @@ main(int argc, const char *argv[])
magic2 = true;
}
}
printf("Guessing size: seems to be a %lu-byte card\n", (uiBlocks + 1) * sizeof(mifare_classic_block));
printf("Guessing size: seems to be a %lu-byte card\n", (unsigned long)((uiBlocks + 1) * sizeof(mifare_classic_block)));
if (bUseKeyFile) {
FILE *pfKeys = fopen(argv[5], "rb");