mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:35:07 +00:00
ImageDecoder: Fix narrowing cast of loop count
This commit is contained in:
parent
4d332f3930
commit
5ced9a3dfb
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ Messages::ImageDecoderServer::DecodeImageResponse ClientConnection::decode_image
|
|||
durations.append(frame.duration);
|
||||
}
|
||||
|
||||
return { decoder->is_animated(), decoder->loop_count(), bitmaps, durations };
|
||||
return { decoder->is_animated(), static_cast<u32>(decoder->loop_count()), bitmaps, durations };
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue