You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2010/06/04 19:41:38 UTC

svn commit: r951502 - /qpid/trunk/qpid/cpp/include/qpid/framing/FieldValue.h

Author: astitcher
Date: Fri Jun  4 17:41:38 2010
New Revision: 951502

URL: http://svn.apache.org/viewvc?rev=951502&view=rev
Log:
Eliminate windows warning

Modified:
    qpid/trunk/qpid/cpp/include/qpid/framing/FieldValue.h

Modified: qpid/trunk/qpid/cpp/include/qpid/framing/FieldValue.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/framing/FieldValue.h?rev=951502&r1=951501&r2=951502&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/framing/FieldValue.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/framing/FieldValue.h Fri Jun  4 17:41:38 2010
@@ -123,7 +123,7 @@ template <>
 inline bool FieldValue::convertsTo<std::string>() const { return data->convertsToString(); }
 
 template <>
-inline int FieldValue::get<int>() const { return data->getInt(); }
+inline int FieldValue::get<int>() const { return static_cast<int>(data->getInt()); }
 
 template <>
 inline int64_t FieldValue::get<int64_t>() const { return data->getInt(); }



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