FIX: one of these days I will start being more observant about argument order

This commit is contained in:
iceman1001 2016-01-15 15:22:25 +01:00
parent 28093ebc10
commit 7f975d7e17
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -36,4 +36,5 @@ fpga/*
!fpga/go.bat
!fpga/sim.tcl
client/*

View file

@ -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);