diff --git a/hedgewars/SDLh.pas b/hedgewars/SDLh.pas index f54b9fa841..172c1eac1e 100644 --- a/hedgewars/SDLh.pas +++ b/hedgewars/SDLh.pas @@ -886,7 +886,7 @@ TSDL_UserEvent = record PSDL_Event = ^TSDL_Event; TSDL_Event = record - case LongInt of + case LongWord of SDL_FIRSTEVENT: (type_: LongWord); SDL_COMMONDEVENT: (common: TSDL_CommonEvent); SDL_WINDOWEVENT: (window: TSDL_WindowEvent);