summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-07-15 14:02:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2011-07-15 14:02:45 -0400
commit4b21954729163069e9d8f78c22624a2ecbc17b38 (patch)
treebfae295c7503c7a7e0d9ff1beb32ec4a9709fee9 /indra/llcommon/tests
parent7341e01ce2c833a190e6361bd97cf64bc1947efc (diff)
Muzzle VS warning
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r--indra/llcommon/tests/llsdserialize_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp
index 0b9f1b53d2..e6a0deaa8b 100644
--- a/indra/llcommon/tests/llsdserialize_test.cpp
+++ b/indra/llcommon/tests/llsdserialize_test.cpp
@@ -1852,7 +1852,7 @@ namespace tut
ensure_equals("Failed to read LLSD::Real from Python",
LLSDSerialize::fromNotation(item, inf, LLSDSerialize::SIZE_UNLIMITED),
1);
- ensure_approximately_equals(item.asReal(), 3.14, 7); // 7 bits ~= 0.01
+ ensure_approximately_equals(F32(item.asReal()), 3.14, 7); // 7 bits ~= 0.01
ensure_equals("Failed to read LLSD::String from Python",
LLSDSerialize::fromNotation(item, inf, LLSDSerialize::SIZE_UNLIMITED),
1);