diff --git a/test/TestUtilities/SystemUtil.cpp b/test/TestUtilities/SystemUtil.cpp index 51d3e6eb..38effaec 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)