aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/GetWMCMapW.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/GetWMCMapW.c')
-rw-r--r--libX11/src/GetWMCMapW.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/GetWMCMapW.c b/libX11/src/GetWMCMapW.c
index 5d54cc1ce..27f1e232c 100644
--- a/libX11/src/GetWMCMapW.c
+++ b/libX11/src/GetWMCMapW.c
@@ -77,7 +77,7 @@ Status XGetWMColormapWindows (
return False;
if (actual_type != XA_WINDOW || actual_format != 32) {
- if (data) Xfree ((char *) data);
+ if (data) Xfree (data);
return False;
}