summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OpaqueEndpointI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-10-30 16:03:47 +0100
committerJose <jose@zeroc.com>2014-10-30 16:03:47 +0100
commitda8c267316512436ba19f28fa42510be305093f6 (patch)
tree935f3eefd77e909c847a44883fef38fce4bda48d /cpp/src/Ice/OpaqueEndpointI.cpp
parentMerge branch 'master' of ssh://git/home/git/ice (diff)
downloadice-da8c267316512436ba19f28fa42510be305093f6.tar.bz2
ice-da8c267316512436ba19f28fa42510be305093f6.tar.xz
ice-da8c267316512436ba19f28fa42510be305093f6.zip
ICE-5804 - Warnings when building with GCC (Eliminate C style casts)
Diffstat (limited to 'cpp/src/Ice/OpaqueEndpointI.cpp')
-rw-r--r--cpp/src/Ice/OpaqueEndpointI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/OpaqueEndpointI.cpp b/cpp/src/Ice/OpaqueEndpointI.cpp
index c7dab1d1f63..ff495474d3c 100644
--- a/cpp/src/Ice/OpaqueEndpointI.cpp
+++ b/cpp/src/Ice/OpaqueEndpointI.cpp
@@ -374,7 +374,7 @@ IceInternal::OpaqueEndpointI::checkOption(const string& option, const string& ar
{
EndpointParseException ex(__FILE__, __LINE__);
ostringstream ostr;
- ostr << "invalid base64 character `" << argument[i] << "' (ordinal " << (int)argument[i]
+ ostr << "invalid base64 character `" << argument[i] << "' (ordinal " << static_cast<int>(argument[i])
<< ") in endpoint " << endpoint;
ex.str = ostr.str();
throw ex;