1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 02:16:34 +08:00

ulong -> size_t

This commit is contained in:
Aakash Chopra
2015-06-22 16:20:35 -05:00
parent 37e73bcb57
commit 8e52a098e9

View File

@@ -112,7 +112,7 @@ int main(int argc, char** argv)
(tick2-tick1)/cv::getTickFrequency() << " sec" << endl;
//check results size from match call above
ulong results_size = results.size();
size_t results_size = results.size();
cout << "Number of matching poses: " << results_size;
if (results_size == 0) {
cout << endl << "No matching poses found. Exiting." << endl;
@@ -120,7 +120,7 @@ int main(int argc, char** argv)
}
// Get only first N results - but adjust to results size if num of results are less than that specified by N
ulong N = 2;
size_t N = 2;
if (results_size < N) {
cout << endl << "Reducing matching poses to be reported (as specified in code): "
<< N << " to the number of matches found: " << results_size << endl;