Ported: [3.x] Fix sign comparison error in platform/osx/os_osx.mm - asmaloney

7c6564ef7e
This commit is contained in:
Relintai 2022-07-27 15:18:43 +02:00
parent 1e2c8637c2
commit 781902dc4d

View File

@ -1079,7 +1079,7 @@ static int translateKey(unsigned int key) {
} }
// Translates a Pandemonium keycode back to a OSX keycode // 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++) { for (int i = 0; i <= 126; i++) {
if (_osx_to_pandemonium_table[i] == key) { if (_osx_to_pandemonium_table[i] == key) {
return i; return i;