added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings

This commit is contained in:
Vadim Pisarevsky
2011-07-19 12:27:07 +00:00
parent 6bb1c07fd4
commit ff5e97c8e4
48 changed files with 443 additions and 385 deletions

View File

@@ -216,7 +216,7 @@ int ArrayTest::prepare_test_case( int test_case_idx )
CvArr* arr = test_array[i][j];
test_mat[i][j] = cv::cvarrToMat(arr);
if( !test_mat[i][j].empty() )
fill_array( test_case_idx, i, j, test_mat[i][j] );
fill_array( test_case_idx, (int)i, (int)j, test_mat[i][j] );
}
}
@@ -304,7 +304,7 @@ int ArrayTest::validate_test_results( int test_case_idx )
if( !test_array[i1][j] )
continue;
err_level = get_success_error_level( test_case_idx, i0, j );
err_level = get_success_error_level( test_case_idx, i0, (int)j );
code = cmpEps( test_mat[i0][j], test_mat[i1][j], &max_diff, err_level, &idx, element_wise_relative_error );
switch( code )