summaryrefslogtreecommitdiff
path: root/lib/libX11/src/GetWMProto.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/GetWMProto.c')
-rw-r--r--lib/libX11/src/GetWMProto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/GetWMProto.c b/lib/libX11/src/GetWMProto.c
index d8f8bdab4..4e9f12c22 100644
--- a/lib/libX11/src/GetWMProto.c
+++ b/lib/libX11/src/GetWMProto.c
@@ -77,7 +77,7 @@ Status XGetWMProtocols (
return False;
if (actual_type != XA_ATOM || actual_format != 32) {
- if (data) Xfree ((char *) data);
+ if (data) Xfree (data);
return False;
}