Merge pull request #60874 from asmaloney/macos-unsigned-fix

This commit is contained in:
Rémi Verschelde 2022-05-09 22:48:19 +02:00 committed by GitHub
commit d9150483ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;