From 3efdcbe3cb29f5632f3e7e0103a999acb5ade13d Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Fri, 4 Jun 2010 17:41:38 +0000 Subject: Eliminate windows warning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951502 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/framing/FieldValue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/include') 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() const { return data->convertsToString(); } template <> -inline int FieldValue::get() const { return data->getInt(); } +inline int FieldValue::get() const { return static_cast(data->getInt()); } template <> inline int64_t FieldValue::get() const { return data->getInt(); } -- cgit v1.2.1