From 441f406a4bbb4a48d88dc54a3a46382a6cd00a07 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 10 Mar 2009 09:51:00 +0100 Subject: [PATCH] Fix warning (typecast) --- src/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers.c b/src/handlers.c index 88a03e3d..8fffcbe1 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -558,7 +558,7 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_noti */ int handle_destroy_notify_event(void *data, xcb_connection_t *conn, xcb_destroy_notify_event_t *event) { LOG("Destroynotify, faking unmapnotify\n"); - return handle_unmap_notify_event(data, conn, event); + return handle_unmap_notify_event(data, conn, (xcb_unmap_notify_event_t*)event); } /* -- 2.39.5