From 781902dc4d7de2b4aa14daf54fdc25d40c57a90d Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 27 Jul 2022 15:18:43 +0200 Subject: [PATCH] Ported: [3.x] Fix sign comparison error in platform/osx/os_osx.mm - asmaloney https://github.com/godotengine/godot/commit/7c6564ef7e4c4dd4c377fe57b2071fbda41261f2 --- platform/osx/os_osx.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index 6e5629cae..f1159b057 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -1079,7 +1079,7 @@ static int translateKey(unsigned int key) { } // Translates a Pandemonium keycode back to a OSX keycode -static unsigned int unmapKey(int key) { +static unsigned int unmapKey(unsigned int key) { for (int i = 0; i <= 126; i++) { if (_osx_to_pandemonium_table[i] == key) { return i;