Attempt to fix "cast from pointer to integer of different size" warnings.
parent
52857de251
commit
7c2028f8e9
|
@ -576,13 +576,13 @@ WIN_ShowOldMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||||
|
|
||||||
switch (messageboxdata->flags) {
|
switch (messageboxdata->flags) {
|
||||||
case SDL_MESSAGEBOX_ERROR:
|
case SDL_MESSAGEBOX_ERROR:
|
||||||
icon = (Uint16)IDI_ERROR;
|
icon = (Uint16)(size_t)IDI_ERROR;
|
||||||
break;
|
break;
|
||||||
case SDL_MESSAGEBOX_WARNING:
|
case SDL_MESSAGEBOX_WARNING:
|
||||||
icon = (Uint16)IDI_WARNING;
|
icon = (Uint16)(size_t)IDI_WARNING;
|
||||||
break;
|
break;
|
||||||
case SDL_MESSAGEBOX_INFORMATION:
|
case SDL_MESSAGEBOX_INFORMATION:
|
||||||
icon = (Uint16)IDI_INFORMATION;
|
icon = (Uint16)(size_t)IDI_INFORMATION;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue