Skip to content

Commit

Permalink
Fixed build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 13, 2016
1 parent f6bcfa0 commit 3a77b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoakeyboard.m
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3a77b42

Please sign in to comment.