diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:04:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:21 +0100 |
commit | f462f7b8a341c3252edfd7b4808e99c8e72244c4 (patch) | |
tree | a8b15f13d6660883357b4d73601a289fac9298ea /i18npool/source/indexentry | |
parent | 33815ec44937f731ce3de9146a97265662d0d206 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I59b111341fc8153088882ac24322f714dc69417a
Diffstat (limited to 'i18npool/source/indexentry')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_default.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index 56da33bc5784..7fccfb4e1cfd 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -93,7 +93,7 @@ void IndexTable::init(sal_Unicode start_, sal_Unicode end_, IndexKey *keys, sal_ { start=start_; end=end_; - table = (sal_uInt8*) malloc((end-start+1)*sizeof(sal_uInt8)); + table = static_cast<sal_uInt8*>(malloc((end-start+1)*sizeof(sal_uInt8))); for (sal_Unicode i = start; i <= end; i++) { sal_Int16 j; for (j = 0; j < key_count; j++) { |