Skip to content

Commit

Permalink
OSX: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Mar 19, 2016
1 parent 293a491 commit 188ab66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/mac/macplatformwindow.mm
Expand Up @@ -146,7 +146,7 @@ QString getTitleFromWid(long int wid) {
return title;
}

uint32_t windowid[1] = {wid};
uint32_t windowid[1] = {static_cast<uint32_t>(wid)};
CFArrayRef windowArray = CFArrayCreate ( NULL, (const void **)windowid, 1 ,NULL);
NSArray *array = (__bridge NSArray*) CGWindowListCreateDescriptionFromArray(windowArray);

Expand Down

0 comments on commit 188ab66

Please sign in to comment.