mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Fixed build
This commit is contained in:
parent
2d0cd90171
commit
c07b39fa06
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue