diff options
Diffstat (limited to 'ui/cocoa.m')
-rw-r--r-- | ui/cocoa.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m index 9e81285d86..93e56d0518 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -571,7 +571,7 @@ QemuCocoaView *cocoaView; // bitmask. if (qemu_console_is_graphic(NULL)) { - NSEventModifierFlags modifiers = [event modifierFlags]; + NSUInteger modifiers = [event modifierFlags]; if (!!(modifiers & NSEventModifierFlagCapsLock) != !!modifiers_state[Q_KEY_CODE_CAPS_LOCK]) { [self toggleStatefulModifier:Q_KEY_CODE_CAPS_LOCK]; |