projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a336e
)
Fixed Android build warning
author
Andrey Kamaev
<no@email>
Mon, 16 Apr 2012 07:22:44 +0000
(07:22 +0000)
committer
Andrey Kamaev
<no@email>
Mon, 16 Apr 2012 07:22:44 +0000
(07:22 +0000)
modules/nonfree/test/test_features2d.cpp
patch
|
blob
|
history
diff --git
a/modules/nonfree/test/test_features2d.cpp
b/modules/nonfree/test/test_features2d.cpp
index
24aa5d9
..
a808a46
100644
(file)
--- a/
modules/nonfree/test/test_features2d.cpp
+++ b/
modules/nonfree/test/test_features2d.cpp
@@
-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;