Merge 399929d381 into 24162899c9
This commit is contained in:
commit
2020909d8d
@ -566,7 +566,7 @@ namespace cxxopts
|
|||||||
throw argument_incorrect_type(text);
|
throw argument_incorrect_type(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
result = result * base + digit;
|
result = static_cast<US>(result * base + digit);
|
||||||
}
|
}
|
||||||
|
|
||||||
detail::check_signed_range<T>(negative, result, text);
|
detail::check_signed_range<T>(negative, result, text);
|
||||||
@ -1091,7 +1091,7 @@ namespace cxxopts
|
|||||||
|
|
||||||
auto riter = m_results.find(iter->second);
|
auto riter = m_results.find(iter->second);
|
||||||
|
|
||||||
return riter->second.count();
|
return static_cast<int>(riter->second.count());
|
||||||
}
|
}
|
||||||
|
|
||||||
const OptionValue&
|
const OptionValue&
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user