revert this const parameter for X11 function

This commit is contained in:
Sylvain Becker 2019-10-30 16:33:32 +01:00
parent dab55a8d23
commit ce308a7841
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ X11_MessageBoxDraw( SDL_MessageBoxDataX11 *data, GC ctx )
} }
static Bool 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; const SDL_MessageBoxDataX11 *data = (const SDL_MessageBoxDataX11 *) arg;
return ((event->xany.display == data->display) && (event->xany.window == data->window)) ? True : False; return ((event->xany.display == data->display) && (event->xany.window == data->window)) ? True : False;