From eb0344b85d230e906236cef34ea1e0c819da7e27 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 Aug 2023 07:52:16 +0200 Subject: fix msvc warning --- shaders/lightmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp index e12b091b..3e3967ee 100644 --- a/shaders/lightmap.cpp +++ b/shaders/lightmap.cpp @@ -33,7 +33,7 @@ constexpr T poor_mans_ceil(T x) if (x > x0) return T(x0 + (int64_t)1); else - return x0; + return T(x0); } constexpr auto neighbor_count = 4; -- cgit v1.2.3