From ce308a784169faebc45738d669815649e60c86d8 Mon Sep 17 00:00:00 2001 From: Sylvain Becker Date: Wed, 30 Oct 2019 16:33:32 +0100 Subject: [PATCH] revert this const parameter for X11 function --- src/video/x11/SDL_x11messagebox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11messagebox.c b/src/video/x11/SDL_x11messagebox.c index fb66eb2c9..dd234e63e 100644 --- a/src/video/x11/SDL_x11messagebox.c +++ b/src/video/x11/SDL_x11messagebox.c @@ -625,7 +625,7 @@ X11_MessageBoxDraw( SDL_MessageBoxDataX11 *data, GC ctx ) } static Bool -X11_MessageBoxEventTest(Display *display, XEvent *event, const XPointer arg) +X11_MessageBoxEventTest(Display *display, XEvent *event, XPointer arg) { const SDL_MessageBoxDataX11 *data = (const SDL_MessageBoxDataX11 *) arg; return ((event->xany.display == data->display) && (event->xany.window == data->window)) ? True : False;