From 44cc0296fa47e7b048619926d811daf24cfa3f13 Mon Sep 17 00:00:00 2001 From: GrigorySmirnovSpb Date: Fri, 10 Apr 2026 00:43:00 +0300 Subject: [PATCH] Fix type error --- hedgewars/SDLh.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);