1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

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 <>
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;
}