aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/im/ximcp/imDispch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/modules/im/ximcp/imDispch.c')
-rw-r--r--libX11/modules/im/ximcp/imDispch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/modules/im/ximcp/imDispch.c b/libX11/modules/im/ximcp/imDispch.c
index 10c73ac0f..2c8e51b1f 100644
--- a/libX11/modules/im/ximcp/imDispch.c
+++ b/libX11/modules/im/ximcp/imDispch.c
@@ -49,7 +49,7 @@ _XimRegProtoIntrCallback(
{
XimProtoIntrRec *rec;
- if (!(rec = (XimProtoIntrRec *)Xmalloc(sizeof(XimProtoIntrRec))))
+ if (!(rec = Xmalloc(sizeof(XimProtoIntrRec))))
return False;
rec->func = proc;
rec->major_code = major_code;