diff options
author | Andrew Stitcher <astitcher@apache.org> | 2010-06-04 17:41:38 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2010-06-04 17:41:38 +0000 |
commit | 3efdcbe3cb29f5632f3e7e0103a999acb5ade13d (patch) | |
tree | 95055c41180452559b37e34fcf6950a517b9db27 /cpp | |
parent | 6396cbe14c6fdec35ceaa0fa697541ec7da62358 (diff) | |
download | qpid-python-3efdcbe3cb29f5632f3e7e0103a999acb5ade13d.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.h | 2 |
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(); } |