summary refs log tree commit diff
path: root/bin/glitch.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/glitch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/glitch.c b/bin/glitch.c
index e97ffce4..acb2615c 100644
--- a/bin/glitch.c
+++ b/bin/glitch.c
@@ -238,10 +238,10 @@ static void readData(void) {
 	}
 
 	inflateEnd(&stream);
-	if (stream.total_out != dataSize()) {
+	if ((size_t)stream.total_out != dataSize()) {
 		errx(
-			EX_DATAERR, "%s: expected data size %zu, found %lu",
-			path, dataSize(), stream.total_out
+			EX_DATAERR, "%s: expected data size %zu, found %zu",
+			path, dataSize(), (size_t)stream.total_out
 		);
 	}
 }