diff --git a/modules/highgui/src/cap_pvapi.cpp b/modules/highgui/src/cap_pvapi.cpp index 0e3f03f405..a80b993549 100644 --- a/modules/highgui/src/cap_pvapi.cpp +++ b/modules/highgui/src/cap_pvapi.cpp @@ -109,7 +109,7 @@ protected: CvCaptureCAM_PvAPI::CvCaptureCAM_PvAPI() { monocrome=false; - memset(&this->Camera, 0, sizeof(this->tCamera)); + memset(&this->Camera, 0, sizeof(this->Camera)); } void CvCaptureCAM_PvAPI::Sleep(unsigned int time) {