diff --git a/src/libs/services/transcoding/impl/TranscodingService.cpp b/src/libs/services/transcoding/impl/TranscodingService.cpp index 1599d3a1..09270a19 100644 --- a/src/libs/services/transcoding/impl/TranscodingService.cpp +++ b/src/libs/services/transcoding/impl/TranscodingService.cpp @@ -38,7 +38,7 @@ namespace lms::transcoding std::size_t doEstimateContentLength(std::size_t bitrate, std::chrono::milliseconds duration) { - const std::size_t estimatedContentLength{ (bitrate / 8 * duration.count()) / 1000 }; + const std::size_t estimatedContentLength{ static_cast((bitrate / 8 * duration.count()) / 1000) }; return estimatedContentLength; } } // namespace