igzip: fix build warnings on Windows

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
Pablo de Lara 2023-12-05 22:06:41 +00:00 committed by Tomasz Kantecki
parent 6188bf7b2f
commit 7e2b097f15

View File

@ -33,6 +33,8 @@
#include <string.h>
#include <assert.h>
#include <stdarg.h>
#include <inttypes.h>
#include "igzip_lib.h"
#include "checksum_test_ref.h"
#include "inflate_std_vects.h"
@ -433,7 +435,7 @@ void print_uint8_t(uint8_t * array, uint64_t length)
const int line_size = 16;
int i;
printf("Length = %lu", length);
printf("Length = %" PRIu64 "", length);
for (i = 0; i < length; i++) {
if ((i % line_size) == 0)
printf("\n0x%08x\t", i);