Fixed build
This commit is contained in:
1 parent
2d0cd90171
commit
c07b39fa06
1 file changed
+1
-1
+1
-1
@@ -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