chg; PRIu32 becomes %u. Lets return to whats working - %lu

This commit is contained in:
iceman1001 committed 2017-02-23 01:21:25 +01:00
1 parent 3919356baf
commit f7c1147ab8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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 "