]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/fpga_compress.c
Merge pull request #938 from pwpiwi/fix_printf_scanf
[proxmark3-svn] / client / fpga_compress.c
index 418a02b8abfbd197c9598424a28c783b7d6e9929..31b51cdb3c1420c3f153a847a591d3db877a2e14 100644 (file)
@@ -99,9 +99,9 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile, bool hardn
 
                if (i >= num_infiles * (hardnested_mode?HARDNESTED_TABLE_SIZE:FPGA_CONFIG_SIZE)) {
                        if (hardnested_mode) {
-                               fprintf(stderr, "Input file too big (> %lu bytes). This is probably not a hardnested bitflip state table.\n", HARDNESTED_TABLE_SIZE);
+                               fprintf(stderr, "Input file too big (> %zu bytes). This is probably not a hardnested bitflip state table.\n", HARDNESTED_TABLE_SIZE);
                        } else {
-                               fprintf(stderr, "Input files too big (total > %lu bytes). These are probably not PM3 FPGA config files.\n", num_infiles*FPGA_CONFIG_SIZE);
+                               fprintf(stderr, "Input files too big (total > %zu bytes). These are probably not PM3 FPGA config files.\n", num_infiles*FPGA_CONFIG_SIZE);
                        }
                        for(uint16_t j = 0; j < num_infiles; j++) {
                                fclose(infile[j]);
Impressum, Datenschutz