summaryrefslogtreecommitdiff
path: root/lib/libX11/src/CrGC.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-05-31 21:17:15 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-05-31 21:17:15 +0000
commit0cb98bd993f3b94b7abf83b3568bc6a85aeba41c (patch)
tree0e8b567929b0a2e054c263276a17d89e1135d2ad /lib/libX11/src/CrGC.c
parent46c9923230138bd8d981765e122da58b708ef9a7 (diff)
Update to libX11 1.5.99.902 aka 1.6rc2
Diffstat (limited to 'lib/libX11/src/CrGC.c')
-rw-r--r--lib/libX11/src/CrGC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/CrGC.c b/lib/libX11/src/CrGC.c
index 11de94c1f..2d5f17c00 100644
--- a/lib/libX11/src/CrGC.c
+++ b/lib/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);