aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/ICWrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/ICWrap.c')
-rw-r--r--nx-X11/lib/X11/ICWrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/ICWrap.c b/nx-X11/lib/X11/ICWrap.c
index 1eacfa5f1..8584e36a7 100644
--- a/nx-X11/lib/X11/ICWrap.c
+++ b/nx-X11/lib/X11/ICWrap.c
@@ -128,7 +128,7 @@ _XIMVaToNestedList(va_list var, int max_count, XIMArg **args_return)
return;
}
- args = (XIMArg *)Xmalloc((unsigned)(max_count + 1) * sizeof(XIMArg));
+ args = Xmalloc((unsigned)(max_count + 1) * sizeof(XIMArg));
*args_return = args;
if (!args) return;