diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:05:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:24 +0100 |
commit | d57d81e529a44d8042401e36057a69ebe97e870a (patch) | |
tree | 3c434c6998bb9c8754c9b662c4bdb485c0aff29b /sal/rtl/crc.cxx | |
parent | cf54f2a10f128cf5d79397911b5be710e7081963 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I5e370445affbcd32b05588111f74590bf24f39d6
Diffstat (limited to 'sal/rtl/crc.cxx')
-rw-r--r-- | sal/rtl/crc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/crc.cxx b/sal/rtl/crc.cxx index 1e2c6736b045..beae3750c832 100644 --- a/sal/rtl/crc.cxx +++ b/sal/rtl/crc.cxx @@ -141,7 +141,7 @@ sal_uInt32 SAL_CALL rtl_crc32 ( { if (Data) { - const sal_uInt8 *p = (const sal_uInt8 *)Data; + const sal_uInt8 *p = static_cast<const sal_uInt8 *>(Data); const sal_uInt8 *q = p + DatLen; Crc = ~Crc; |