mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
ImageDecoder: Fix narrowing cast of loop count
This commit is contained in:
committed by
Andreas Kling
parent
4d332f3930
commit
5ced9a3dfb
@@ -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 };
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user