Fixed Windows warning
parent
82ffabc86a
commit
9da4717d12
|
@ -485,7 +485,7 @@ WIN_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||||
ParentWindow = ((SDL_WindowData*)messageboxdata->window->driverdata)->hwnd;
|
ParentWindow = ((SDL_WindowData*)messageboxdata->window->driverdata)->hwnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
*buttonid = DialogBoxIndirect(NULL, (DLGTEMPLATE*)dialog->lpDialog, ParentWindow, (DLGPROC)MessageBoxDialogProc);
|
*buttonid = (int)DialogBoxIndirect(NULL, (DLGTEMPLATE*)dialog->lpDialog, ParentWindow, (DLGPROC)MessageBoxDialogProc);
|
||||||
|
|
||||||
FreeDialogData(dialog);
|
FreeDialogData(dialog);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue