Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing compile warnings.

  • Loading branch information...
commit 341f81024dc3ba7f6f9f067f15f63b30966488f3 1 parent 0eb42ad
@roustem roustem authored justin committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 SGHotKeysLib/SGHotKeyCenter.m
View
4 SGHotKeysLib/SGHotKeyCenter.m
@@ -84,8 +84,8 @@ - (BOOL)registerHotKey:(SGHotKey *)theHotKey {
theHotKey.hotKeyID = hotKeyID;
- error = RegisterEventHotKey(theHotKey.keyCombo.keyCode,
- theHotKey.keyCombo.modifiers,
+ error = RegisterEventHotKey((UInt32)theHotKey.keyCombo.keyCode,
+ (UInt32)theHotKey.keyCombo.modifiers,
hotKeyID,
GetEventMonitorTarget(),
// GetEventDispatcherTarget(),
Please sign in to comment.
Something went wrong with that request. Please try again.