revert this const parameter for X11 function
authorSylvain Becker <sylvain.becker@gmail.com>
Wed, 30 Oct 2019 16:33:32 +0100
changeset 132078340a18b20bf
parent 13206 9d978fff9873
child 13208 4389d1796f6d
revert this const parameter for X11 function
src/video/x11/SDL_x11messagebox.c
     1.1 --- a/src/video/x11/SDL_x11messagebox.c	Wed Oct 30 16:20:58 2019 +0100
     1.2 +++ b/src/video/x11/SDL_x11messagebox.c	Wed Oct 30 16:33:32 2019 +0100
     1.3 @@ -625,7 +625,7 @@
     1.4  }
     1.5  
     1.6  static Bool
     1.7 -X11_MessageBoxEventTest(Display *display, XEvent *event, const XPointer arg)
     1.8 +X11_MessageBoxEventTest(Display *display, XEvent *event, XPointer arg)
     1.9  {
    1.10      const SDL_MessageBoxDataX11 *data = (const SDL_MessageBoxDataX11 *) arg;
    1.11      return ((event->xany.display == data->display) && (event->xany.window == data->window)) ? True : False;