From f7c1147ab81009cd48b5e28f70dc57c84f6fa2d0 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 23 Feb 2017 01:21:25 +0100 Subject: [PATCH] chg; PRIu32 becomes %u. Lets return to whats working - %lu --- client/fpga_compress.c | 2 +- client/reveng/model.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 " -- 2.39.2