mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
LibIPC: Silence a warning when compiling with gcc -O0
This commit is contained in:
parent
a39c4cc340
commit
6c9a3ecf42
Notes:
sideshowbarker
2024-07-19 02:07:01 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6c9a3ecf422
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue