From cee5bd8d52f3ff0334837b5581e8ad84daadd3e6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 4 Dec 2014 23:46:49 +0100 Subject: loplugin:cstylecast, involving pointer to incomplete type Change-Id: I8cf382e7f5f5ed9c797be9ec2b42f0d7f9f0b0ce --- vcl/unx/generic/app/i18n_ic.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx index 449e94d13116..bdc73c01a373 100644 --- a/vcl/unx/generic/app/i18n_ic.cxx +++ b/vcl/unx/generic/app/i18n_ic.cxx @@ -283,7 +283,7 @@ SalI18N_InputContext::SalI18N_InputContext ( SalFrame *pFrame ) : if (pFontSet != NULL) { mpPreeditAttributes = XVaAddToNestedList( mpPreeditAttributes, - const_cast(XNFontSet), (XPointer)pFontSet); + const_cast(XNFontSet), reinterpret_cast(pFontSet)); } break; -- cgit v1.2.3