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 | 4e2c1b89497976bfd0ce382d248c32facb3b2203 (patch) | |
| tree | 95055c41180452559b37e34fcf6950a517b9db27 /cpp | |
| parent | b5a70b85a5109a9320098d74e491442df359d700 (diff) | |
| download | qpid-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.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(); } |
