1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibGfx: Misc 32-bit build fixes

This commit is contained in:
Sergey Bugaev 2023-09-03 23:25:27 +03:00 committed by Andrew Kaster
parent 79022090bf
commit 8ebddc1ff6
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ ErrorOr<BoxList> Reader::read_entire_file()
while (!m_stream->is_eof()) {
auto box_header = TRY(read_box_header(*m_stream));
BoxStream box_stream { *m_stream, box_header.contents_size };
BoxStream box_stream { *m_stream, static_cast<size_t>(box_header.contents_size) };
switch (box_header.type) {
case BoxType::FileTypeBox: