mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Need strtoull for 64-bit ulongs.
This commit is contained in:
1 parent
c664480720
commit
6f73dd4b74
1 file changed
+1
-1
@@ -79,7 +79,7 @@ bool TryParse(const std::string &str, uint64_t *const output) {
|
||||
// Reset errno to a value other than ERANGE
|
||||
errno = 0;
|
||||
|
||||
uint64_t value = strtoul(str.c_str(), &endptr, 0);
|
||||
uint64_t value = strtoull(str.c_str(), &endptr, 0);
|
||||
|
||||
if (!endptr || *endptr)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user