1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Fixing iOS clang warnings, part 2

This commit is contained in:
Maksim Shabunin
2014-10-17 16:32:53 +04:00
parent d3821e8cd7
commit ef3d02214b
8 changed files with 31 additions and 29 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ namespace
static void block_function(void* context, size_t index)
{
ProxyLoopBody* ptr_body = static_cast<ProxyLoopBody*>(context);
(*ptr_body)(cv::Range(index, index + 1));
(*ptr_body)(cv::Range((int)index, (int)index + 1));
}
#elif defined HAVE_CONCURRENCY
class ProxyLoopBody : public ParallelLoopBodyWrapper