summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2005-09-05 22:26:46 +0000
committerBernard Normier <bernard@zeroc.com>2005-09-05 22:26:46 +0000
commit3f296387b572021a16eb6572cc937bba7dd6c9a8 (patch)
tree7ec3ae8c3eba2f414581db1f5bb3001ca79eed89 /cpp/src
parentFixed shutdown issue with collocated registry (diff)
downloadice-3f296387b572021a16eb6572cc937bba7dd6c9a8.tar.bz2
ice-3f296387b572021a16eb6572cc937bba7dd6c9a8.tar.xz
ice-3f296387b572021a16eb6572cc937bba7dd6c9a8.zip
Fix for Intel C++
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceUtil/Unicode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Unicode.cpp b/cpp/src/IceUtil/Unicode.cpp
index 0ad6ef801a5..8fbe1267af5 100644
--- a/cpp/src/IceUtil/Unicode.cpp
+++ b/cpp/src/IceUtil/Unicode.cpp
@@ -170,7 +170,7 @@ basic_string<__wchar_t>
IceUtil::stringToNativeWstring(const string& str)
{
assert(sizeof(__wchar_t) == SIZEOF_WCHAR_T);
- return *reinterpret_cast<basic_string<__wchar_t>* >(&stringToWstring(str));
+ return reinterpret_cast<basic_string<__wchar_t>& >(stringToWstring(str));
}
#endif