aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/lcPublic.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/lcPublic.c')
-rw-r--r--nx-X11/lib/X11/lcPublic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/lcPublic.c b/nx-X11/lib/X11/lcPublic.c
index 4b26710b2..39ec0829b 100644
--- a/nx-X11/lib/X11/lcPublic.c
+++ b/nx-X11/lib/X11/lcPublic.c
@@ -88,7 +88,7 @@ create(
if (lcd->core == NULL)
goto err;
- new = (XLCdPublicMethods) Xmalloc(sizeof(XLCdPublicMethodsRec));
+ new = Xmalloc(sizeof(XLCdPublicMethodsRec));
if (new == NULL)
goto err;
memcpy(new,methods,sizeof(XLCdPublicMethodsRec));