aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/im/ximcp/imTrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/modules/im/ximcp/imTrans.c')
-rw-r--r--libX11/modules/im/ximcp/imTrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/modules/im/ximcp/imTrans.c b/libX11/modules/im/ximcp/imTrans.c
index a8cd95e8f..ae644ab61 100644
--- a/libX11/modules/im/ximcp/imTrans.c
+++ b/libX11/modules/im/ximcp/imTrans.c
@@ -153,7 +153,7 @@ _XimTransRegisterDispatcher(
TransSpecRec *spec = (TransSpecRec *)im->private.proto.spec;
TransIntrCallbackPtr rec;
- if (!(rec = (TransIntrCallbackPtr)Xmalloc(sizeof(TransIntrCallbackRec))))
+ if (!(rec = Xmalloc(sizeof(TransIntrCallbackRec))))
return False;
rec->func = callback;