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:
parent
f56bb419d2
commit
a26a15d485
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue