diff options
Diffstat (limited to 'cpp/src/IceSSL/RFC2253.cpp')
-rw-r--r-- | cpp/src/IceSSL/RFC2253.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/RFC2253.cpp b/cpp/src/IceSSL/RFC2253.cpp index eaa86e979c5..578b55efa4d 100644 --- a/cpp/src/IceSSL/RFC2253.cpp +++ b/cpp/src/IceSSL/RFC2253.cpp @@ -198,7 +198,7 @@ unescapeHex(const string& data, size_t pos) { throw ParseException(__FILE__, __LINE__, "unescape: invalid hex pair"); } - return (char)(hexToInt(data[pos]) * 16 + hexToInt(data[pos + 1])); + return static_cast<char>(hexToInt(data[pos]) * 16 + hexToInt(data[pos + 1])); } static pair<string,string> |