Fixed Android build warning

This commit is contained in:
Andrey Kamaev 2012-04-16 07:22:44 +00:00
parent 67a336e0be
commit 2f88062de7

View File

@ -1066,7 +1066,7 @@ TEST(Features2d_BruteForceDescriptorMatcher_knnMatch, regression)
matcher->knnMatch(descQ, descT, matches, k);
//cout << "\nBest " << k << " matches to " << descT.rows << " train desc-s." << endl;
ASSERT_EQ(descQ.rows, matches.size());
ASSERT_EQ(descQ.rows, static_cast<int>(matches.size()));
for(size_t i = 0; i<matches.size(); i++)
{
//cout << "\nmatches[" << i << "].size()==" << matches[i].size() << endl;