From 3819da6d0b1ccb3cb5b91ab4ca205199955b411d Mon Sep 17 00:00:00 2001 From: mathusummut Date: Tue, 25 Sep 2018 10:11:16 +0200 Subject: [PATCH] Fixed printf line --- .../sources/compression/compression_utils.cpp | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/source/shared_lib/sources/compression/compression_utils.cpp b/source/shared_lib/sources/compression/compression_utils.cpp index c424ef912..64f385c4c 100644 --- a/source/shared_lib/sources/compression/compression_utils.cpp +++ b/source/shared_lib/sources/compression/compression_utils.cpp @@ -305,19 +305,8 @@ namespace Shared { } if (SystemFlags::VERBOSE_MODE_ENABLED) { -#ifdef HAVE_ZLIB - printf("Total input bytes: %u\n", stream.total_in); - printf("Total output bytes: %u\n", stream.total_out); -#else - /* - * I don't know why this typecasting (mz_unit32) is used for - * miniz, but it was there when I found the code, so leaving it - * here for now. - * -andy5995, 2018-09-25 - */ - printf("Total input bytes: %u\n", (mz_uint32) stream.total_in); - printf("Total output bytes: %u\n", (mz_uint32) stream.total_out); -#endif + printf("Total input bytes: %lu\n", stream.total_in); + printf("Total output bytes: %lu\n", stream.total_out); printf("Success.\n"); } return EXIT_SUCCESS;