fixed some warnings under win64

This commit is contained in:
Vladislav Vinogradov
2011-08-08 13:03:18 +00:00
parent dc14b45617
commit 12b7090a6f
8 changed files with 28 additions and 28 deletions

View File

@@ -143,7 +143,7 @@ TEST_P(SURF, Accuracy)
cv::BruteForceMatcher< cv::L2<float> > matcher;
std::vector<cv::DMatch> matches;
matcher.match(cv::Mat(keypoints_gold.size(), 64, CV_32FC1, &descriptors_gold[0]), descriptors, matches);
matcher.match(cv::Mat(static_cast<int>(keypoints_gold.size()), 64, CV_32FC1, &descriptors_gold[0]), descriptors, matches);
int validCount = 0;