mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 06:10:59 +00:00
Fix warning
This commit is contained in:
parent
79c7d6205c
commit
77a406a5a6
@ -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 New Issue
Block a user