1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

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

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();
}