Fix Windows build warnings

This commit is contained in:
Andrey Kamaev
2012-11-08 03:15:43 +04:00
parent 4d059e9e5b
commit 0a4ed2bc01
3 changed files with 10 additions and 10 deletions

View File

@@ -2421,7 +2421,7 @@ protected:
}
Mat diff = abs(anglesInDegrees - resInDeg);
int errDegCount = diff.total() - countNonZero((diff < maxAngleDiff) | ((360 - diff) < maxAngleDiff));
size_t errDegCount = diff.total() - countNonZero((diff < maxAngleDiff) | ((360 - diff) < maxAngleDiff));
if(errDegCount > 0)
{
ts->printf(cvtest::TS::LOG, "There are incorrect result angles (in degrees) (part of them is %f)\n",