From 0576f88247e5d03f5a86fa1ebdd9fb25089b7f1e Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Tue, 1 Sep 2009 15:55:48 +0000 Subject: Remove some warnings picked up by MSVC compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810104 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/Variant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/Variant.cpp') diff --git a/cpp/src/tests/Variant.cpp b/cpp/src/tests/Variant.cpp index 8ad659e59a..b7ce776827 100644 --- a/cpp/src/tests/Variant.cpp +++ b/cpp/src/tests/Variant.cpp @@ -100,7 +100,7 @@ QPID_AUTO_TEST_CASE(testAssignment) QPID_AUTO_TEST_CASE(testList) { const std::string s("abc"); - const float f(9.876); + const float f(9.876f); const int16_t x(1000); Variant value = Variant::List(); @@ -131,7 +131,7 @@ QPID_AUTO_TEST_CASE(testList) QPID_AUTO_TEST_CASE(testMap) { const std::string red("red"); - const float pi(3.14); + const float pi(3.14f); const int16_t x(1000); Variant value = Variant::Map(); -- cgit v1.2.1