Commit 651aaf3b authored by Branislav Katreniak's avatar Branislav Katreniak

kj/string: fix signed -> unsigned long long in parseInteger

parent 5872c80b
...@@ -69,7 +69,7 @@ T parseInteger(const StringPtr& s) { ...@@ -69,7 +69,7 @@ T parseInteger(const StringPtr& s) {
long long max = static_cast<T>(maxValue); long long max = static_cast<T>(maxValue);
return static_cast<T>(parseSigned(s, min, max)); return static_cast<T>(parseSigned(s, min, max));
} else { } else {
long long max = static_cast<T>(maxValue); unsigned long long max = static_cast<T>(maxValue);
return static_cast<T>(parseUnsigned(s, max)); return static_cast<T>(parseUnsigned(s, max));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment