qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r810104 - /qpid/trunk/qpid/cpp/src/tests/Variant.cpp
Date Tue, 01 Sep 2009 15:55:48 GMT
Author: astitcher
Date: Tue Sep  1 15:55:48 2009
New Revision: 810104

URL: http://svn.apache.org/viewvc?rev=810104&view=rev
Log:
Remove some warnings picked up by MSVC compiler

Modified:
    qpid/trunk/qpid/cpp/src/tests/Variant.cpp

Modified: qpid/trunk/qpid/cpp/src/tests/Variant.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/Variant.cpp?rev=810104&r1=810103&r2=810104&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/Variant.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/Variant.cpp Tue Sep  1 15:55:48 2009
@@ -100,7 +100,7 @@
 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(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();



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message