Fix warning

This commit is contained in:
Eelco Dolstra 2023-02-16 17:31:20 +01:00
parent 79c7d6205c
commit 77a406a5a6

View file

@ -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)) {