aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/SetRGBCMap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/SetRGBCMap.c')
-rw-r--r--libX11/src/SetRGBCMap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/SetRGBCMap.c b/libX11/src/SetRGBCMap.c
index d2cbb5b5b..a52de261b 100644
--- a/libX11/src/SetRGBCMap.c
+++ b/libX11/src/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);
}
}