From 88821fbbb05fb2dfe57a703c7ccf2667fcff0cf9 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 12 Mar 2014 03:02:17 -0400 Subject: [PATCH] Prevent the compiler from deciding whether or not the float is big enough to overflow or not... --- Base/test/TestVector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/test/TestVector.cpp b/Base/test/TestVector.cpp index 976dae5..7140397 100644 --- a/Base/test/TestVector.cpp +++ b/Base/test/TestVector.cpp @@ -118,7 +118,7 @@ TEST(VectorBase, PointerConversion) { TEST(VectorBase, CastVector) { FasTC::VectorBase v3f; - v3f[0] = 100000000000.0f; + v3f[0] = 1000000.0f; v3f[1] = -2.0f; v3f[2] = -1.1f;