From 52e6e8ff1e11a6551be51ab55acd033244a8a34f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 3 Jan 2025 18:19:12 +1000 Subject: [PATCH] PostProcessing: Compile warning fix --- src/util/postprocessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/postprocessing.cpp b/src/util/postprocessing.cpp index 14d43fd1b..a1f235f34 100644 --- a/src/util/postprocessing.cpp +++ b/src/util/postprocessing.cpp @@ -693,7 +693,7 @@ GPUDevice::PresentResult PostProcessing::Chain::Apply(GPUTexture* input_color, G draw_final_target = GetTextureUnusedAtEndOfChain(); } - const float time = Timer::ConvertValueToSeconds(Timer::GetCurrentValue() - s_start_time); + const float time = static_cast(Timer::ConvertValueToSeconds(Timer::GetCurrentValue() - s_start_time)); for (const std::unique_ptr& stage : m_stages) { const bool is_final = (stage.get() == m_stages.back().get());