mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-01-23 19:27:09 +00:00
testmessage: fix conversion from intptr_t
to Uint32
Emitted by MSVC
This commit is contained in:
parent
02b200ef08
commit
7ae5d8d406
@ -62,7 +62,7 @@ button_messagebox(void *eventNumber)
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Error Presenting MessageBox: %s\n", SDL_GetError());
|
||||
if (eventNumber) {
|
||||
SDL_Event event;
|
||||
event.type = (intptr_t)eventNumber;
|
||||
event.type = (Uint32)(intptr_t)eventNumber;
|
||||
SDL_PushEvent(&event);
|
||||
return 1;
|
||||
} else {
|
||||
@ -73,7 +73,7 @@ button_messagebox(void *eventNumber)
|
||||
|
||||
if (eventNumber) {
|
||||
SDL_Event event;
|
||||
event.type = (intptr_t)eventNumber;
|
||||
event.type = (Uint32)(intptr_t)eventNumber;
|
||||
SDL_PushEvent(&event);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user