aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/SetRGBCMap.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/SetRGBCMap.c')
-rw-r--r--nx-X11/lib/X11/SetRGBCMap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/SetRGBCMap.c b/nx-X11/lib/X11/SetRGBCMap.c
index def7a22ca..f413c0d69 100644
--- a/nx-X11/lib/X11/SetRGBCMap.c
+++ b/nx-X11/lib/X11/SetRGBCMap.c
@@ -95,6 +95,6 @@ void XSetRGBColormaps (
XChangeProperty (dpy, w, property, XA_RGB_COLOR_MAP, 32,
PropModeReplace, (unsigned char *) data,
(int) (count * NumPropStandardColormapElements));
- Xfree ((char *) data);
+ Xfree (data);
}
}