From 43f38df1d26ad91c912145d6d2169f7108120e88 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Mon, 1 Apr 2013 11:37:48 +0400 Subject: [PATCH] fixed incorrect sizeof() expression in CvCalibFilter::SetCameraCount --- modules/legacy/src/calibfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/legacy/src/calibfilter.cpp b/modules/legacy/src/calibfilter.cpp index f1a4d7cd2b..99cc04ce82 100644 --- a/modules/legacy/src/calibfilter.cpp +++ b/modules/legacy/src/calibfilter.cpp @@ -235,7 +235,7 @@ void CvCalibFilter::SetCameraCount( int count ) cvReleaseMat( &rectMap[i][1] ); } - memset( latestCounts, 0, sizeof(latestPoints) ); + memset( latestCounts, 0, sizeof(latestCounts) ); maxPoints = 0; cameraCount = count; }