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