diff options
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index aee7c8eb7..78cd652c6 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -277,7 +277,7 @@ static char *FormatBytes(char *buff, int64 number, const char *last) /* 0 2^10 2^20 2^30 2^40 2^50 2^60 */ const char *siUnits[] = { "B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB" }; - int id = 1; + uint id = 1; while (number >= 1024 * 1024) { number /= 1024; id++; |