summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-06-04 17:41:38 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-06-04 17:41:38 +0000
commitdfacc80897fe0d8889fab5758b75e6b600925ff3 (patch)
tree47402e384831105d0bada408158ef8257691e678 /qpid/cpp
parent888a7d9b4d896314a4515dfb0c9f172b87e0a1cd (diff)
downloadqpid-python-dfacc80897fe0d8889fab5758b75e6b600925ff3.tar.gz
Eliminate windows warning
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@951502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/include/qpid/framing/FieldValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/framing/FieldValue.h b/qpid/cpp/include/qpid/framing/FieldValue.h
index 8af1f8dedd..19220e74d5 100644
--- a/qpid/cpp/include/qpid/framing/FieldValue.h
+++ b/qpid/cpp/include/qpid/framing/FieldValue.h
@@ -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(); }