From 00049d8b3ae3c661d527dc6748e31490cbad9e3b Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 17 Aug 2023 15:00:51 +0100 Subject: [PATCH] Video: Fix conversion warning --- modules/juce_video/native/juce_Video_mac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_video/native/juce_Video_mac.h b/modules/juce_video/native/juce_Video_mac.h index 0ca801c2a0..2ad8e824ce 100644 --- a/modules/juce_video/native/juce_Video_mac.h +++ b/modules/juce_video/native/juce_Video_mac.h @@ -797,7 +797,7 @@ private: static double toSeconds (const CMTime& t) noexcept { - return t.timescale != 0 ? (t.value / (double) t.timescale) : 0.0; + return t.timescale != 0 ? ((double) t.value / (double) t.timescale) : 0.0; } void playerPreparationFinished (const URL& url, Result r)