From fcde7fae66231d537320664a91ba1ecbb83d0002 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Wed, 21 Jun 2023 10:49:52 +0200 Subject: [PATCH] backend-wayland: use to_wayland_backend Signed-off-by: Philipp Zabel --- libweston/backend-wayland/wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/backend-wayland/wayland.c b/libweston/backend-wayland/wayland.c index b2de06f8..53e53ebb 100644 --- a/libweston/backend-wayland/wayland.c +++ b/libweston/backend-wayland/wayland.c @@ -2750,7 +2750,7 @@ wayland_shutdown(struct weston_backend *backend) static void wayland_destroy(struct weston_backend *backend) { - struct wayland_backend *b = container_of(backend, struct wayland_backend, base); + struct wayland_backend *b = to_wayland_backend(backend); struct weston_compositor *ec = b->compositor; struct weston_head *base, *next; struct wayland_parent_output *output, *next_output;