diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-09-01 15:55:48 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-09-01 15:55:48 +0000 |
commit | ce9f7271b244e5b9a0e853f6fb78976db2d7326a (patch) | |
tree | 8411359ede7d1755caf869286505be94b511cce6 /qpid/cpp/src/tests/Variant.cpp | |
parent | f8bcd637a512b3b97067aa41383290bb92e65913 (diff) | |
download | qpid-python-ce9f7271b244e5b9a0e853f6fb78976db2d7326a.tar.gz |
Remove some warnings picked up by MSVC compiler
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Variant.cpp')
-rw-r--r-- | qpid/cpp/src/tests/Variant.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/Variant.cpp b/qpid/cpp/src/tests/Variant.cpp index 8ad659e59a..b7ce776827 100644 --- a/qpid/cpp/src/tests/Variant.cpp +++ b/qpid/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(); |