summaryrefslogtreecommitdiff
path: root/ace/SString.i
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-24 23:47:34 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-24 23:47:34 +0000
commit3e264f2640c2bf4e966aa530e244d42b857004cb (patch)
tree198f9d76be93ebacd1948b95168ae61ec4824ccc /ace/SString.i
parent542705c479c79f2798a3313e6b5f6f01ae4a3fb6 (diff)
downloadATCD-3e264f2640c2bf4e966aa530e244d42b857004cb.tar.gz
ChangeLogTag:Mon Apr 24 16:44:22 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/SString.i')
-rw-r--r--ace/SString.i6
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/SString.i b/ace/SString.i
index 0a89b4aff68..f93f6ac1660 100644
--- a/ace/SString.i
+++ b/ace/SString.i
@@ -685,8 +685,10 @@ ACE_WString::length (void) const
ACE_INLINE u_long
ACE_WString::hash (void) const
{
- return ACE::hash_pjw (ACE_reinterpret_cast (char * const, this->rep_),
- this->len_ * sizeof (ACE_WSTRING_TYPE));
+ return ACE::hash_pjw
+ (ACE_reinterpret_cast (char *, ACE_const_cast (ACE_WSTRING_TYPE *,
+ this->rep_)),
+ this->len_ * sizeof (ACE_WSTRING_TYPE));
}