From 488b139ea7278c620ae53e9a103199f48c0a5fd7 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 16 May 2022 09:52:49 -0600 Subject: [PATCH] Fix conversion warning --- test/TestUtilities/SystemUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TestUtilities/SystemUtil.cpp b/test/TestUtilities/SystemUtil.cpp index 51d3e6eb6..38effaecd 100644 --- a/test/TestUtilities/SystemUtil.cpp +++ b/test/TestUtilities/SystemUtil.cpp @@ -37,7 +37,7 @@ namespace sf bool operator==(const sf::Vector2f& lhs, const ApproxVec2& rhs) { - return (lhs - rhs.vector).length() == doctest::Approx(0.0); + return static_cast((lhs - rhs.vector).length()) == doctest::Approx(0.0); } bool operator==(const sf::Vector3f& lhs, const ApproxVec3& rhs)