summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-05-16 12:53:45 +0000
committerHerbert Dürr <hdu@apache.org>2013-05-16 12:53:45 +0000
commit7f6f4407437933ef1ca9d9d33f921bafda0114ba (patch)
treeb6b9e8c3e43ce3fc7d62ead817c27371d209429e /sal
parent3608a33d8362cbc44a2eb7203b7d1bffe481c7ab (diff)
fix the long cast to eliminate the little warning
Notes
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/string.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx
index dcd6ca42a6f6..ebf3e3058428 100644
--- a/sal/inc/rtl/string.hxx
+++ b/sal/inc/rtl/string.hxx
@@ -947,7 +947,7 @@ struct CStringHash
size_t operator()( const char* p) const {
size_t n = 0;
while( *p)
- n += 4*n + *static_cast<const unsigned char*>(p++);
+ n += 4*n + *reinterpret_cast<const unsigned char*>(p++);
return n;
}
};