FIX: one of these days I will start being more observant about argument order
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -36,4 +36,5 @@ fpga/*
|
|||||||
!fpga/go.bat
|
!fpga/go.bat
|
||||||
!fpga/sim.tcl
|
!fpga/sim.tcl
|
||||||
|
|
||||||
|
client/*
|
||||||
|
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile)
|
|||||||
ret = deflate(&compressed_fpga_stream, Z_FINISH);
|
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) {
|
if (ret != Z_STREAM_END) {
|
||||||
fprintf(stderr, "Error in deflate(): %d %s\n", ret, compressed_fpga_stream.msg);
|
fprintf(stderr, "Error in deflate(): %d %s\n", ret, compressed_fpga_stream.msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user