From: iceman1001 Date: Thu, 23 Feb 2017 00:21:25 +0000 (+0100) Subject: chg; PRIu32 becomes %u. Lets return to whats working - %lu X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/f7c1147ab81009cd48b5e28f70dc57c84f6fa2d0 chg; PRIu32 becomes %u. Lets return to whats working - %lu --- diff --git a/client/fpga_compress.c b/client/fpga_compress.c index fb3d7193..aac589af 100644 --- a/client/fpga_compress.c +++ b/client/fpga_compress.c @@ -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); diff --git a/client/reveng/model.c b/client/reveng/model.c index 8e536107..de0d1679 100644 --- a/client/reveng/model.c +++ b/client/reveng/model.c @@ -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 "