diff --git a/Userland/Services/ImageDecoder/ClientConnection.cpp b/Userland/Services/ImageDecoder/ClientConnection.cpp index fb4d089ede..08f75b930b 100644 --- a/Userland/Services/ImageDecoder/ClientConnection.cpp +++ b/Userland/Services/ImageDecoder/ClientConnection.cpp @@ -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(decoder->loop_count()), bitmaps, durations }; } }