mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-06 21:37:47 +00:00
Fixed build
This commit is contained in:
@@ -183,7 +183,7 @@ int main(int argc, char *argv[])
|
||||
int status = 0;
|
||||
SDL_Event event;
|
||||
Uint32 eventNumber = SDL_RegisterEvents(1);
|
||||
SDL_Thread *thread = SDL_CreateThread(&button_messagebox, "MessageBox", (void *)eventNumber);
|
||||
SDL_Thread *thread = SDL_CreateThread(&button_messagebox, "MessageBox", (void *)(uintptr_t)eventNumber);
|
||||
|
||||
while (SDL_WaitEvent(&event)) {
|
||||
if (event.type == eventNumber) {
|
||||
|
||||
Reference in New Issue
Block a user