aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/im/ximcp/imInsClbk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/modules/im/ximcp/imInsClbk.c')
-rw-r--r--libX11/modules/im/ximcp/imInsClbk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/modules/im/ximcp/imInsClbk.c b/libX11/modules/im/ximcp/imInsClbk.c
index b867d2f6f..d5527e036 100644
--- a/libX11/modules/im/ximcp/imInsClbk.c
+++ b/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;