aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/imLcIc.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/imLcIc.c')
-rw-r--r--nx-X11/lib/X11/imLcIc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/imLcIc.c b/nx-X11/lib/X11/imLcIc.c
index 46323061e..7ab9050c1 100644
--- a/nx-X11/lib/X11/imLcIc.c
+++ b/nx-X11/lib/X11/imLcIc.c
@@ -158,7 +158,7 @@ _XimLocalCreateIC(
num = im->core.ic_num_resources;
len = sizeof(XIMResource) * num;
- if((res = (XIMResourceList)Xmalloc(len)) == (XIMResourceList)NULL) {
+ if((res = Xmalloc(len)) == (XIMResourceList)NULL) {
goto Set_Error;
}
(void)memcpy((char *)res, (char *)im->core.ic_resources, len);