From 269edf031707b6682938952be97fbee5d2e2173e Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Fri, 7 Jan 2022 11:53:02 -0800 Subject: [PATCH] Fix return cast (#554) --- src/internal/NeoGamma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/NeoGamma.h b/src/internal/NeoGamma.h index 44d835d..94a4747 100644 --- a/src/internal/NeoGamma.h +++ b/src/internal/NeoGamma.h @@ -36,7 +36,7 @@ public: } static uint16_t Correct(uint16_t value) { - return static_cast(65535.0f * NeoEase::Gamma(value / 65535.0f) + 0.5f); + return static_cast(65535.0f * NeoEase::Gamma(value / 65535.0f) + 0.5f); } };