diff --git a/modules/nonfree/test/test_rotation_and_scale_invariance.cpp b/modules/nonfree/test/test_rotation_and_scale_invariance.cpp index 399a7a288..3479be72a 100644 --- a/modules/nonfree/test/test_rotation_and_scale_invariance.cpp +++ b/modules/nonfree/test/test_rotation_and_scale_invariance.cpp @@ -682,7 +682,7 @@ TEST(Features2d_RotationInvariance2_Detector_SURF, regression) surf(cross, noArray(), keypoints); - ASSERT_EQ(keypoints.size(), 5); + ASSERT_EQ(keypoints.size(), (vector::size_type) 5); ASSERT_LT( fabs(keypoints[1].response - keypoints[2].response), 1e-6); ASSERT_LT( fabs(keypoints[1].response - keypoints[3].response), 1e-6); ASSERT_LT( fabs(keypoints[1].response - keypoints[4].response), 1e-6);