mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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
@ -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 New Issue
Block a user