Skip to content
Permalink
Browse files

Fixed build warning

  • Loading branch information
slouken committed Oct 13, 2016
1 parent f6bcfa0 commit 3a77b42de7057d2d0064691a7c3fc969c7788f1d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/cocoa/SDL_cocoakeyboard.m
@@ -200,7 +200,7 @@ - (NSArray *)validAttributesForMarkedText
|| IOHIDElementGetUsage(elem) != kHIDUsage_KeyboardCapsLock) {
return;
}
int pressed = IOHIDValueGetIntegerValue(value);
CFIndex pressed = IOHIDValueGetIntegerValue(value);
SDL_SendKeyboardKey(pressed ? SDL_PRESSED : SDL_RELEASED, SDL_SCANCODE_CAPSLOCK);
}

0 comments on commit 3a77b42

Please sign in to comment.