src/video/windows/SDL_windowsmessagebox.c
changeset 11375 2dd1cac9e43a
parent 11303 23000b73ce4e
child 11811 5d94cb6b24d3
     1.1 --- a/src/video/windows/SDL_windowsmessagebox.c	Sun Aug 27 22:34:15 2017 -0700
     1.2 +++ b/src/video/windows/SDL_windowsmessagebox.c	Sun Aug 27 22:36:03 2017 -0700
     1.3 @@ -485,7 +485,7 @@
     1.4          ParentWindow = ((SDL_WindowData*)messageboxdata->window->driverdata)->hwnd;
     1.5      }
     1.6  
     1.7 -    *buttonid = DialogBoxIndirect(NULL, (DLGTEMPLATE*)dialog->lpDialog, ParentWindow, (DLGPROC)MessageBoxDialogProc);
     1.8 +    *buttonid = (int)DialogBoxIndirect(NULL, (DLGTEMPLATE*)dialog->lpDialog, ParentWindow, (DLGPROC)MessageBoxDialogProc);
     1.9  
    1.10      FreeDialogData(dialog);
    1.11      return 0;