Commit eb124bd369f6eb266e6d07b87f8320da111a7b02
1 parent
55bf7725
No compiler warnings
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/plugins/imgproc/samplefrommask.cpp
| ... | ... | @@ -26,7 +26,7 @@ class SampleFromMaskTransform : public UntrainableTransform |
| 26 | 26 | Mat indices; |
| 27 | 27 | findNonZero(masked,indices); |
| 28 | 28 | |
| 29 | - for (int j=0; j<indices.total(); j++) | |
| 29 | + for (size_t j=0; j<indices.total(); j++) | |
| 30 | 30 | dst.m().at<uchar>(0,j) = masked.at<uchar>(indices.at<Point>(j).y,indices.at<Point>(j).x); |
| 31 | 31 | } |
| 32 | 32 | }; | ... | ... |