diff options
author | Herbert Dürr <hdu@apache.org> | 2013-05-16 12:53:45 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2013-05-16 12:53:45 +0000 |
commit | 7f6f4407437933ef1ca9d9d33f921bafda0114ba (patch) | |
tree | b6b9e8c3e43ce3fc7d62ead817c27371d209429e /sal | |
parent | 3608a33d8362cbc44a2eb7203b7d1bffe481c7ab (diff) |
fix the long cast to eliminate the little warning
Notes
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/string.hxx | 2 |
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; } }; |