From 7f975d7e1794cc35607f41dd0e718bf2f4e99314 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 15 Jan 2016 15:22:25 +0100 Subject: [PATCH] FIX: one of these days I will start being more observant about argument order --- .gitignore | 1 + client/fpga_compress.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6ab46df9..7a71c19a 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,5 @@ fpga/* !fpga/go.bat !fpga/sim.tcl +client/* diff --git a/client/fpga_compress.c b/client/fpga_compress.c index 3d5ba7ca..865681cd 100644 --- a/client/fpga_compress.c +++ b/client/fpga_compress.c @@ -138,7 +138,7 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile) ret = deflate(&compressed_fpga_stream, Z_FINISH); } - fprintf(stderr, "compressed %lu input bytes to %u 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); -- 2.39.2