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 8ce2fde07..a7e60f846 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -874,7 +874,7 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
bool lookup = (l == SCC_ENCODED);
if (lookup) s += len;
- param = (int32)strtoul(s, &p, 16);
+ param = strtoull(s, &p, 16);
if (lookup) {
if (param >= TAB_SIZE) {