diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 03:52:37 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 03:52:37 +0000 |
commit | bf882447f4c476fb790c2214a07ed82fe355d422 (patch) | |
tree | b7144bacc110598116d726359fe56f6ef0ec201c /qpid/cpp/src/tests | |
parent | 9b4c3318ef66f9628cd5d9b0473030874b4b8acf (diff) | |
download | qpid-python-bf882447f4c476fb790c2214a07ed82fe355d422.tar.gz |
Some more fixes to build under Visual Studio 2008
Remove some simple Visual Studio 2008 warnings
Fix qmfconsole build under Windows and CMake
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@771020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rw-r--r-- | qpid/cpp/src/tests/FieldTable.cpp | 2 | ||||
-rw-r--r-- | qpid/cpp/src/tests/header_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/FieldTable.cpp b/qpid/cpp/src/tests/FieldTable.cpp index 9f2fd45b73..a02bbd5194 100644 --- a/qpid/cpp/src/tests/FieldTable.cpp +++ b/qpid/cpp/src/tests/FieldTable.cpp @@ -125,7 +125,7 @@ QPID_AUTO_TEST_CASE(testNestedValues) QPID_AUTO_TEST_CASE(testFloatAndDouble) { char buff[100]; - float f = 5.672; + float f = 5.672f; double d = 56.720001; { FieldTable a; diff --git a/qpid/cpp/src/tests/header_test.cpp b/qpid/cpp/src/tests/header_test.cpp index ba9ffacc9b..c36b4f3bc3 100644 --- a/qpid/cpp/src/tests/header_test.cpp +++ b/qpid/cpp/src/tests/header_test.cpp @@ -42,7 +42,7 @@ int main(int argc, char** argv) std::string q("header_interop_test_queue"); session.queueDeclare(arg::queue=q); double pi = 3.14159265; - float e = 2.71828; + float e = 2.71828f; Message msg("", q); msg.getMessageProperties().getApplicationHeaders().setDouble("pi", pi); msg.getMessageProperties().getApplicationHeaders().setFloat("e", e); |