From fb29a889e49cae5a00c8373886dd8102eb884a85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
Date: Sat, 11 Nov 2017 15:10:25 +0100
Subject: [PATCH] Fix printf warnings in fuzz/main.c

---
 fuzz/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fuzz/main.c b/fuzz/main.c
index 345b330..3214693 100644
--- a/fuzz/main.c
+++ b/fuzz/main.c
@@ -67,10 +67,10 @@ static void test_all_from(const char *dirname)
 			uint8_t *data = malloc(st.st_size);
 			ssize_t n;
 			if ((n = read(fd, data, st.st_size)) == st.st_size) {
-				printf("testing %zu bytes from '%s'\n", st.st_size, fname);
+				printf("testing %llu bytes from '%s'\n", (unsigned long long) st.st_size, fname);
 				LLVMFuzzerTestOneInput(data, st.st_size);
 			} else
-				fprintf(stderr, "Failed to read %zu bytes from %s (%d), got %zd\n", st.st_size, fname, errno, n);
+				fprintf(stderr, "Failed to read %llu bytes from %s (%d), got %zd\n", (unsigned long long) st.st_size, fname, errno, n);
 
 			free(data);
 			close(fd);