From 8e0a9695d7a28087c14ca62ed15570021311a263 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Mon, 7 Jun 2021 13:53:55 -0700 Subject: [PATCH] Attempt to fix a failing test with help from @aqrit --- programs/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/util.c b/programs/util.c index 934ec526d..691613940 100644 --- a/programs/util.c +++ b/programs/util.c @@ -139,7 +139,7 @@ char* humanSize(unsigned long long size, char* str) { } else if (size > 1024) { snprintf(str, 7, "%.1fK", (float)size / 1024); } else if (size <= 1024) { - snprintf(str, 7, "%lluB", size); + snprintf(str, 7, "%uB", (unsigned)size); } return str; -- 2.47.2