mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
style
This commit is contained in:
parent
4be92f129a
commit
fa0a2914f6
2 changed files with 3 additions and 3 deletions
|
@ -1107,7 +1107,7 @@ int CmdSmartBruteforceSFI(const char *Cmd) {
|
||||||
//Validations
|
//Validations
|
||||||
if (errors) return usage_sm_brute();
|
if (errors) return usage_sm_brute();
|
||||||
|
|
||||||
const char *SELECT = "00a40400%02x%s";
|
const char *SELECT = "00a40400%02zu%s";
|
||||||
|
|
||||||
// uint8_t GENERATE_AC[] = {0x80, 0xAE};
|
// uint8_t GENERATE_AC[] = {0x80, 0xAE};
|
||||||
// uint8_t GET_CHALLENGE[] = {0x00, 0x84, 0x00};
|
// uint8_t GET_CHALLENGE[] = {0x00, 0x84, 0x00};
|
||||||
|
|
|
@ -98,12 +98,12 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile, bool hardn
|
||||||
#if __WORDSIZE == 64
|
#if __WORDSIZE == 64
|
||||||
"Input file too big (> %" PRIu64 " bytes). This is probably not a hardnested bitflip state table.\n"
|
"Input file too big (> %" PRIu64 " bytes). This is probably not a hardnested bitflip state table.\n"
|
||||||
#else
|
#else
|
||||||
"Input file too big (> %zu bytes). This is probably not a hardnested bitflip state table.\n"
|
"Input file too big (> %li bytes). This is probably not a hardnested bitflip state table.\n"
|
||||||
#endif
|
#endif
|
||||||
, HARDNESTED_TABLE_SIZE);
|
, HARDNESTED_TABLE_SIZE);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Input files too big (total > %zu bytes). These are probably not PM3 FPGA config files.\n", num_infiles * FPGA_CONFIG_SIZE);
|
fprintf(stderr, "Input files too big (total > %li bytes). These are probably not PM3 FPGA config files.\n", num_infiles * FPGA_CONFIG_SIZE);
|
||||||
}
|
}
|
||||||
for (uint16_t j = 0; j < num_infiles; j++) {
|
for (uint16_t j = 0; j < num_infiles; j++) {
|
||||||
fclose(infile[j]);
|
fclose(infile[j]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue