fix(config): Type mismatch
This commit is contained in:
parent
f56bb419d2
commit
a26a15d485
@ -247,7 +247,7 @@ unsigned long config::convert(string&& value) const {
|
||||
|
||||
template <>
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user