mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Casting from void* to a smaller-sized integer needs an intermediate equally-sized integer
This commit is contained in:
parent
c82e96c578
commit
01ebf5419c
@ -385,10 +385,11 @@ int SDL_AppEvent(void* appstate, const SDL_Event* event)
|
||||
break;
|
||||
}
|
||||
|
||||
// FIXME: use g_userEvent instead of SDL_EVENT_USER
|
||||
if (event->type >= SDL_EVENT_USER && event->type <= SDL_EVENT_LAST - 1) {
|
||||
switch (event->user.code) {
|
||||
case WM_ISLE_SETCURSOR:
|
||||
g_isle->SetupCursor((Cursor) (MxS32) event->user.data1);
|
||||
g_isle->SetupCursor((Cursor) (uintptr_t) event->user.data1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user