From 9fb4f02954ecf6a2e3b78647eedb67e0790ae79c Mon Sep 17 00:00:00 2001 From: Le Juez Victor <90587919+Bigfoot71@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:27:31 +0200 Subject: [PATCH] Change `ScancodeToKey` array type --- src/rcore_desktop_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore_desktop_sdl.c b/src/rcore_desktop_sdl.c index 27b286460..b66167c89 100644 --- a/src/rcore_desktop_sdl.c +++ b/src/rcore_desktop_sdl.c @@ -75,7 +75,7 @@ static PlatformData platform = { 0 }; // Platform specific data // Local Variables Definition //---------------------------------------------------------------------------------- #define SCANCODE_MAPPED_NUM 100 -static const short ScancodeToKey[SCANCODE_MAPPED_NUM] = { +static const KeyboardKey ScancodeToKey[SCANCODE_MAPPED_NUM] = { KEY_NULL, // SDL_SCANCODE_UNKNOWN 0, 0,