Fixed Android build warnings

This commit is contained in:
Andrey Kamaev
2012-03-27 06:16:13 +00:00
parent 6412e17df6
commit 4a996111ea
3 changed files with 17 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ static void sortMatrixRowsByIndices(InputArray _src, InputArray _indices, Output
vector<int> indices = _indices.getMat();
_dst.create(src.rows, src.cols, src.type());
Mat dst = _dst.getMat();
for(int idx = 0; idx < indices.size(); idx++) {
for(size_t idx = 0; idx < indices.size(); idx++) {
Mat originalRow = src.row(indices[idx]);
Mat sortedRow = dst.row(idx);
originalRow.copyTo(sortedRow);