From ab74b6a3c3c02da7a89973c273ebbb0b02271a68 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 24 Mar 2022 15:34:29 -0400 Subject: [PATCH] wayland: Remove some now-redundant casts --- src/video/wayland/SDL_waylandvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c index 6a55e7bf3..b3d241b18 100644 --- a/src/video/wayland/SDL_waylandvideo.c +++ b/src/video/wayland/SDL_waylandvideo.c @@ -641,7 +641,7 @@ static void Wayland_init_xdg_output(SDL_VideoData *d) { SDL_WaylandOutputData *node; - for (node = (SDL_WaylandOutputData*)d->output_list; node != NULL; node = (SDL_WaylandOutputData*)node->next) { + for (node = d->output_list; node != NULL; node = node->next) { node->xdg_output = zxdg_output_manager_v1_get_xdg_output(node->videodata->xdg_output_manager, node->output); zxdg_output_v1_add_listener(node->xdg_output, &xdg_output_listener, node); }