summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-15 13:22:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-15 13:22:20 +0200
commit6f3dedb2791efd26f17d332d00650aceb49c31f7 (patch)
tree03bf7b5047829c27dad5a02f01ff8f0f0ff0e680 /facetracknoir
parentb3472ae4e00679714e4abdd3a682183779f42865 (diff)
use cast to fix qt5 breakage
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/shortcuts.cpp2
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;