From 2f88062de74ca6c06ec4221441b851057bb287f8 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 16 Apr 2012 07:22:44 +0000 Subject: [PATCH] Fixed Android build warning --- modules/nonfree/test/test_features2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nonfree/test/test_features2d.cpp b/modules/nonfree/test/test_features2d.cpp index 24aa5d9983..a808a46596 100644 --- 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(matches.size())); for(size_t i = 0; i