summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 64db048c4..85b3b3789 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -203,7 +203,7 @@ static char *FormatNumber(char *buff, int64 number, const char *last, const char
num = num % divisor;
}
if (tot |= quot || i == 19) {
- buff += seprintf(buff, last, "%i", quot);
+ buff += seprintf(buff, last, "%i", (int)quot);
if ((i % 3) == 1 && i != 19) buff = strecpy(buff, separator, last);
}