mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
LibGfx: Misc 32-bit build fixes
This commit is contained in:
parent
79022090bf
commit
8ebddc1ff6
3 changed files with 3 additions and 3 deletions
|
@ -454,7 +454,7 @@ static ErrorOr<NonnullRefPtr<Bitmap>> decode_webp_chunk_VP8L_image(ImageKind ima
|
|||
return Error::from_string_literal("WebPImageDecoderPlugin: Backward reference distance out of bounds");
|
||||
}
|
||||
|
||||
if (end - pixel < length) {
|
||||
if (end - pixel < static_cast<ptrdiff_t>(length)) {
|
||||
dbgln_if(WEBP_DEBUG, "invalid length, {} < {}", end - pixel, length);
|
||||
return Error::from_string_literal("WebPImageDecoderPlugin: Backward reference length out of bounds");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue