summaryrefslogtreecommitdiff
path: root/cpp/src/tests/header_test.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-05-03 03:52:37 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-05-03 03:52:37 +0000
commitcf904ec83224d4369e112bbbaf64a4b9b2b9d193 (patch)
tree312da44042d8ed733a203ec5430e73774f1c7f61 /cpp/src/tests/header_test.cpp
parent0b9a1572d25860399e2300a5860fea31b5aa00ee (diff)
downloadqpid-python-cf904ec83224d4369e112bbbaf64a4b9b2b9d193.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/qpid@771020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/header_test.cpp')
-rw-r--r--cpp/src/tests/header_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/header_test.cpp b/cpp/src/tests/header_test.cpp
index ba9ffacc9b..c36b4f3bc3 100644
--- a/cpp/src/tests/header_test.cpp
+++ b/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);