Fixed Windows warning
authorSam Lantinga <slouken@libsdl.org>
Sun, 27 Aug 2017 22:36:03 -0700
changeset 113752dd1cac9e43a
parent 11374 2f2558b2ebcf
child 11376 91e5e5a2cb71
Fixed Windows warning
src/video/windows/SDL_windowsmessagebox.c
     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;