Fix warning C4018: '<=': signed/unsigned mismatch
[CC] {default-win-x86_64} $(S)/library/json/json_reader.cpp
arc/library/json/json_reader.cpp:409: warning C4018: '<=': signed/unsigned mismatch
arc/library/json/json_reader.cpp:429: note: see reference to function template instantiation 'bool NJson::`anonymous-namespace'::TJsonCallbacksWrapper::ProcessUint<uint64_t>(U)' being compiled
with
[
U=uint64_t
]
@@ -406,7 +406,7 @@ namespace {
template <class U>
bool ProcessUint(U u) {
- if (Y_LIKELY(u <= Max<int64_t>())) {
+ if (Y_LIKELY(u <= uint64_t(Max<int64_t>()))) {
return Impl.OnInteger(int64_t(u));
} else {
return Impl.OnUInteger(u);
