summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-04 23:46:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 09:10:04 +0100
commitcee5bd8d52f3ff0334837b5581e8ad84daadd3e6 (patch)
tree6ca7aeb4d93e9cbbf59390db8da3eb5df8b936ba /vcl/unx
parente84e45ef361a5e03a1a69d15d27ebb61f7b1b5cb (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I8cf382e7f5f5ed9c797be9ec2b42f0d7f9f0b0ce
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/i18n_ic.cxx2
1 files changed, 1 insertions, 1 deletions
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<char*>(XNFontSet), (XPointer)pFontSet);
+ const_cast<char*>(XNFontSet), reinterpret_cast<XPointer>(pFontSet));
}
break;