LibIPC: Silence a warning when compiling with gcc -O0

This commit is contained in:
Andreas Kling 2020-10-01 19:16:35 +02:00
parent a39c4cc340
commit 6c9a3ecf42
Notes: sideshowbarker 2024-07-19 02:07:01 +09:00

View file

@ -127,7 +127,7 @@ bool Decoder::decode(Dictionary& dictionary)
m_stream >> size;
if (m_stream.handle_any_error())
return false;
if (size >= NumericLimits<i32>::max()) {
if (size >= (size_t)NumericLimits<i32>::max()) {
ASSERT_NOT_REACHED();
}