summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
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;