Attempt to fix a failing test with help from @aqrit

dev
Scott Baker 2021-06-07 13:53:55 -07:00 committed by W. Felix Handte
parent 1eb852854b
commit 8e0a9695d7
1 changed files with 1 additions and 1 deletions

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;