summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
diff options
context:
space:
mode:
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