]> git.sur5r.net Git - i3/i3/commitdiff
Fix warning (typecast)
authorMichael Stapelberg <michael+x200@stapelberg.de>
Tue, 10 Mar 2009 08:51:00 +0000 (09:51 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Tue, 10 Mar 2009 08:51:00 +0000 (09:51 +0100)
src/handlers.c

index 88a03e3d48345d197c2a6f6e851ccabeada2d545..8fffcbe12f88edb97c6b6af3aa2659da1a10d8fd 100644 (file)
@@ -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);
 }
 
 /*