From c3bf2f8744868ca937a4aded6cc9d759d6fae08c Mon Sep 17 00:00:00 2001 From: Pinterf Date: Wed, 28 Mar 2018 20:53:04 +0200 Subject: [PATCH] A forgotton float specifier antiwarning --- avs_core/filters/levels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avs_core/filters/levels.cpp b/avs_core/filters/levels.cpp index eacb9cd93..8d89e63a8 100644 --- a/avs_core/filters/levels.cpp +++ b/avs_core/filters/levels.cpp @@ -140,8 +140,8 @@ static void get_limits(luma_chroma_limits_t &d, int bits_per_pixel) { d.full_range_low_chroma_f = (0 - 128) / 255.0f; d.full_range_hi_chroma_f = (255 - 128) / 255.0f; #else - d.tv_range_low_chroma_f = tv_range_lo_chroma_8 / 255.0; - d.tv_range_hi_chroma_f = tv_range_hi_chroma_8 / 255.0; + d.tv_range_low_chroma_f = tv_range_lo_chroma_8 / 255.0f; + d.tv_range_hi_chroma_f = tv_range_hi_chroma_8 / 255.0f; d.middle_chroma_f = 0.5f; d.full_range_low_chroma_f = 0 / 255.0f; d.full_range_hi_chroma_f = 255 / 255.0f;