mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Fix warning
This commit is contained in:
parent
79c7d6205c
commit
77a406a5a6
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ std::optional<N> string2Int(const std::string_view s)
|
|||
template<class N>
|
||||
N string2IntWithUnitPrefix(std::string_view s)
|
||||
{
|
||||
N multiplier = 1;
|
||||
uint64_t multiplier = 1;
|
||||
if (!s.empty()) {
|
||||
char u = std::toupper(*s.rbegin());
|
||||
if (std::isalpha(u)) {
|
||||
|
|
Loading…
Reference in a new issue