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

Resolved a compiling warning under Windows.

This commit is contained in:
Jin Ma
2013-08-16 15:33:43 +08:00
parent 8feaadc69f
commit 916b92bc3b
+2 -2
View File
@@ -48,9 +48,9 @@ using namespace cv::ocl;
void cvtFrameFmt(std::vector<Mat>& input, std::vector<Mat>& output, int output_cn)
{
for(int i=0; i<input.size(); i++)
for(int i = 0; i< (int)(input.size()); i++)
{
if(output_cn==1)
if(output_cn == 1)
cvtColor(input[i], output[i], COLOR_RGB2GRAY);
else
cvtColor(input[i], output[i], COLOR_RGB2RGBA);