summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-15 13:06:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-15 13:06:11 +0200
commitb3472ae4e00679714e4abdd3a682183779f42865 (patch)
tree33c89e312a2ee1fc3a33db0372f88a09e8a95fe1 /ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
parentbb84d3767648fda977a2ff29c7de80aed4f2205f (diff)
fix win32 faceapi bitrot
Diffstat (limited to 'ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp')
-rw-r--r--ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
index 71e9c558..af37d925 100644
--- a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
+++ b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
@@ -52,7 +52,7 @@ void FTNoIR_Tracker::StartTracker(QFrame *videoframe )
if ( pMemData != NULL ) {
pMemData->command = 0; // Reset any and all commands
if (videoframe != NULL) {
- pMemData->handle = videoframe->winId(); // Handle of Videoframe widget
+ pMemData->handle = (HWND) videoframe->winId(); // Handle of Videoframe widget
}
else {
pMemData->handle = NULL; // reset Handle of Videoframe widget