diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-29 12:12:30 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-29 12:12:47 +0100 |
commit | 7b50f5d3249173d93736d6e2a3c6f61e86b367bd (patch) | |
tree | 8f3d827b8dfafc355461deeab1abfb0db49a36a0 /backend | |
parent | 211c1e23be4a115a462ce9b6ee4032ad7b893b14 (diff) |
backend/wayland: remove unnecessary cast
Diffstat (limited to 'backend')
-rw-r--r-- | backend/wayland/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c index e9353aa3..df8403ba 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -559,7 +559,7 @@ static void xdg_toplevel_handle_close(void *data, struct wlr_wl_output *output = data; assert(output && output->xdg_toplevel == xdg_toplevel); - wlr_output_destroy((struct wlr_output *)output); + wlr_output_destroy(&output->wlr_output); } static struct xdg_toplevel_listener xdg_toplevel_listener = { |