summaryrefslogtreecommitdiff
path: root/lib/libX11/modules/im/ximcp/imInsClbk.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/modules/im/ximcp/imInsClbk.c')
-rw-r--r--lib/libX11/modules/im/ximcp/imInsClbk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/modules/im/ximcp/imInsClbk.c b/lib/libX11/modules/im/ximcp/imInsClbk.c
index b867d2f6f..d5527e036 100644
--- a/lib/libX11/modules/im/ximcp/imInsClbk.c
+++ b/lib/libX11/modules/im/ximcp/imInsClbk.c
@@ -168,7 +168,7 @@ _XimRegisterIMInstantiateCallback(
if( lock )
return( False );
- icb = (XimInstCallback)Xmalloc(sizeof(XimInstCallbackRec));
+ icb = Xmalloc(sizeof(XimInstCallbackRec));
if( !icb )
return( False );
icb->call = icb->destroy = False;