aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/PutBEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/PutBEvent.c')
-rw-r--r--libX11/src/PutBEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/PutBEvent.c b/libX11/src/PutBEvent.c
index f9d4c29bd..1768e032c 100644
--- a/libX11/src/PutBEvent.c
+++ b/libX11/src/PutBEvent.c
@@ -41,7 +41,7 @@ _XPutBackEvent (
XEvent store = *event;
if (!dpy->qfree) {
- if ((dpy->qfree = (_XQEvent *) Xmalloc (sizeof (_XQEvent))) == NULL) {
+ if ((dpy->qfree = Xmalloc (sizeof (_XQEvent))) == NULL) {
return 0;
}
dpy->qfree->next = NULL;