aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/CrGC.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/CrGC.c')
-rw-r--r--libX11/src/CrGC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/CrGC.c b/libX11/src/CrGC.c
index 11de94c1f..2d5f17c00 100644
--- a/libX11/src/CrGC.c
+++ b/libX11/src/CrGC.c
@@ -72,7 +72,7 @@ GC XCreateGC (
register _XExtension *ext;
LockDisplay(dpy);
- if ((gc = (GC)Xmalloc (sizeof(struct _XGC))) == NULL) {
+ if ((gc = Xmalloc (sizeof(struct _XGC))) == NULL) {
UnlockDisplay(dpy);
SyncHandle();
return (NULL);