mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 20:36:53 +01:00
Ported: [3.x] Fix sign comparison error in platform/osx/os_osx.mm - asmaloney
7c6564ef7e
This commit is contained in:
parent
1e2c8637c2
commit
781902dc4d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user