Skip to content

Commit

Permalink
mumble: allow GlobalShortcut_macx.mm to build using the OS X 10.9 SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrautz committed Oct 20, 2013
1 parent d59a3b1 commit 915fe15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mumble/GlobalShortcut_macx.mm
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

void GlobalShortcutMac::dumpEventTaps() {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
CGTableCount ntaps = 0;
uint32_t ntaps = 0;
CGEventTapInformation table[64];
if (CGGetEventTapList(20, table, &ntaps) == kCGErrorSuccess) {
qWarning("--- Installed Event Taps ---");
for (CGTableCount i = 0; i < ntaps; i++) {
for (uint32_t i = 0; i < ntaps; i++) {
CGEventTapInformation *info = &table[i];

ProcessSerialNumber psn;
Expand Down

0 comments on commit 915fe15

Please sign in to comment.