summaryrefslogtreecommitdiff
path: root/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
commit4e2c1b89497976bfd0ce382d248c32facb3b2203 (patch)
tree95055c41180452559b37e34fcf6950a517b9db27 /cpp
parentb5a70b85a5109a9320098d74e491442df359d700 (diff)
downloadqpid-python-4e2c1b89497976bfd0ce382d248c32facb3b2203.tar.gz
Eliminate windows warning
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/qpid/framing/FieldValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/qpid/framing/FieldValue.h b/cpp/include/qpid/framing/FieldValue.h
index 8af1f8dedd..19220e74d5 100644
--- a/cpp/include/qpid/framing/FieldValue.h
+++ b/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(); }