Commit 5b982fb6 authored by Vladimir's avatar Vladimir

Fixed warnings for iOS build

parent 13870922
...@@ -180,13 +180,13 @@ namespace cv ...@@ -180,13 +180,13 @@ namespace cv
int TRACK_votImpl::getDatasetsNum() int TRACK_votImpl::getDatasetsNum()
{ {
return data.size(); return (int)(data.size());
} }
int TRACK_votImpl::getDatasetLength(int id) int TRACK_votImpl::getDatasetLength(int id)
{ {
if (id > 0 && id <= (int)data.size()) if (id > 0 && id <= (int)data.size())
return data[id - 1].size(); return (int)(data[id - 1].size());
else else
{ {
cout << "Dataset ID is out of range...\n " << "Allowed IDs are: 1~" << (int)data.size() << endl; cout << "Dataset ID is out of range...\n " << "Allowed IDs are: 1~" << (int)data.size() << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment