summaryrefslogtreecommitdiff
path: root/src/util/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/string.h')
-rw-r--r--src/util/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/string.h b/src/util/string.h
index 9bb89f14a..bed66417e 100644
--- a/src/util/string.h
+++ b/src/util/string.h
@@ -165,7 +165,7 @@ inline s32 mystoi(const std::string &s, s32 min, s32 max)
inline s64 stoi64(const std::string &s) {
std::stringstream tmp(s);
- long long t;
+ s64 t;
tmp >> t;
return t;
}