From: Michael Stapelberg Date: Tue, 10 Mar 2009 08:51:00 +0000 (+0100) Subject: Fix warning (typecast) X-Git-Tag: 3.a~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=441f406a4bbb4a48d88dc54a3a46382a6cd00a07;p=i3%2Fi3 Fix warning (typecast) --- 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); } /*