fix(config): Type mismatch

This commit is contained in:
Michael Carlberg 2017-01-13 10:57:43 +01:00
parent f56bb419d2
commit a26a15d485

View File

@ -247,7 +247,7 @@ unsigned long config::convert(string&& value) const {
template <> template <>
unsigned long long config::convert(string&& value) const { unsigned long long config::convert(string&& value) const {
unsigned long v{std::strtoull(value.c_str(), nullptr, 10)}; unsigned long long v{std::strtoull(value.c_str(), nullptr, 10)};
return v < ULLONG_MAX ? v : 0ULL; return v < ULLONG_MAX ? v : 0ULL;
} }