From 6c9a3ecf422c8362512c4a79da2c0b647ae2b626 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 1 Oct 2020 19:16:35 +0200 Subject: [PATCH] LibIPC: Silence a warning when compiling with gcc -O0 --- Libraries/LibIPC/Decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibIPC/Decoder.cpp b/Libraries/LibIPC/Decoder.cpp index ba242060577..6854c8f0169 100644 --- a/Libraries/LibIPC/Decoder.cpp +++ b/Libraries/LibIPC/Decoder.cpp @@ -127,7 +127,7 @@ bool Decoder::decode(Dictionary& dictionary) m_stream >> size; if (m_stream.handle_any_error()) return false; - if (size >= NumericLimits::max()) { + if (size >= (size_t)NumericLimits::max()) { ASSERT_NOT_REACHED(); }