[3.x] Fix sign comparison error in platform/osx/os_osx.mm

This commit is contained in:
Andy Maloney 2022-05-07 20:56:48 -04:00
parent 887fcd00e0
commit 7c6564ef7e

View file

@ -1079,7 +1079,7 @@ static int translateKey(unsigned int key) {
}
// Translates a Godot 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_godot_table[i] == key) {
return i;