diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 13:22:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 13:22:20 +0200 |
commit | 6f3dedb2791efd26f17d332d00650aceb49c31f7 (patch) | |
tree | 03bf7b5047829c27dad5a02f01ff8f0f0ff0e680 /facetracknoir | |
parent | b3472ae4e00679714e4abdd3a682183779f42865 (diff) |
use cast to fix qt5 breakage
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/shortcuts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/shortcuts.cpp b/facetracknoir/shortcuts.cpp index 152fe565..43c1019d 100644 --- a/facetracknoir/shortcuts.cpp +++ b/facetracknoir/shortcuts.cpp @@ -159,7 +159,7 @@ KeybindingWorkerImpl::KeybindingWorkerImpl(FaceTrackNoIR& w, Key keyCenter) return; } - if (dinkeyboard->SetCooperativeLevel(window.winId(), DISCL_NONEXCLUSIVE | DISCL_BACKGROUND) != DI_OK) { + if (dinkeyboard->SetCooperativeLevel((HWND) window.winId(), DISCL_NONEXCLUSIVE | DISCL_BACKGROUND) != DI_OK) { dinkeyboard->Release(); din->Release(); din = 0; |