aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/FreeGC.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/FreeGC.c')
-rw-r--r--libX11/src/FreeGC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/FreeGC.c b/libX11/src/FreeGC.c
index ab994bc64..926d50745 100644
--- a/libX11/src/FreeGC.c
+++ b/libX11/src/FreeGC.c
@@ -44,7 +44,7 @@ XFreeGC (
UnlockDisplay(dpy);
SyncHandle();
_XFreeExtData(gc->ext_data);
- Xfree ((char *) gc);
+ Xfree (gc);
return 1;
}