From f462f7b8a341c3252edfd7b4808e99c8e72244c4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 28 Mar 2015 19:04:22 +0100 Subject: Clean up C-style casts from pointers to void Change-Id: I59b111341fc8153088882ac24322f714dc69417a --- i18npool/source/indexentry/indexentrysupplier_default.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18npool/source/indexentry') 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(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++) { -- cgit