Attempt to fix a failing test with help from @aqrit

This commit is contained in:
Scott Baker
2021-06-10 12:53:07 -04:00
committed by W. Felix Handte
parent 1eb852854b
commit 8e0a9695d7
+1 -1
View File
@@ -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;