summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-09-01 15:55:48 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-09-01 15:55:48 +0000
commit0576f88247e5d03f5a86fa1ebdd9fb25089b7f1e (patch)
treebba85d102a100b0734ac55e1d716650ceb412e9d /cpp/src
parentf6d43659eca4162aea86d09c942a507fd4319b08 (diff)
downloadqpid-python-0576f88247e5d03f5a86fa1ebdd9fb25089b7f1e.tar.gz
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
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/Variant.cpp4
1 files changed, 2 insertions, 2 deletions
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();