]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
chg; PRIu32 becomes %u. Lets return to whats working - %lu
authoriceman1001 <iceman@iuse.se>
Thu, 23 Feb 2017 00:21:25 +0000 (01:21 +0100)
committericeman1001 <iceman@iuse.se>
Thu, 23 Feb 2017 00:21:25 +0000 (01:21 +0100)
client/fpga_compress.c
client/reveng/model.c

index fb3d71939e74c657f52471d40e19d9b0a0861b9a..aac589afe935ec16c6d5a079fa1dc5d80a98eab0 100644 (file)
@@ -140,7 +140,7 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile)
                ret = deflate(&compressed_fpga_stream, Z_FINISH);
        }
        
-       fprintf(stderr, "compressed %u input bytes to %" PRIu64 " output bytes\n", i, compressed_fpga_stream.total_out);
+       fprintf(stderr, "compressed %u input bytes to %lu output bytes\n", i, compressed_fpga_stream.total_out);
 
        if (ret != Z_STREAM_END) {
                fprintf(stderr, "Error in deflate(): %d %s\n", ret, compressed_fpga_stream.msg);
index 8e5361077d23e6f4d923f7cfdc90841ef2c681e0..de0d16796b7fe23e45791cf1d0f98c71cf89b4a7 100644 (file)
@@ -117,7 +117,7 @@ mtostr(const model_t *model) {
        if((string = malloc(size))) {
                sprintf(strbuf, "\"%s\"", model->name);
                sprintf(string,
-                               "width=%" PRIu64 ""
+                               "width=%lu"
                                "poly=0x%s  "
                                "init=0x%s  "
                                "refin=%s  "
Impressum, Datenschutz