Browse Source

LibIPC: Silence a warning when compiling with gcc -O0

Andreas Kling 4 years ago
parent
commit
6c9a3ecf42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libraries/LibIPC/Decoder.cpp

+ 1 - 1
Libraries/LibIPC/Decoder.cpp

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