1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 04:25:42 +08:00

Fixed several warnings produced by GCC 7

This commit is contained in:
Maksim Shabunin
2017-11-17 16:35:50 +03:00
parent 6f07e2fca5
commit b16d9dbcc5
8 changed files with 20 additions and 15 deletions

View File

@@ -119,7 +119,7 @@ void er_show(vector<Mat> &channels, vector<vector<ERStat> > &regions)
Scalar(255),0,Scalar(er.level),Scalar(0),flags);
}
}
char buff[10]; char *buff_ptr = buff;
char buff[20]; char *buff_ptr = buff;
sprintf(buff, "channel %d", c);
imshow(buff_ptr, dst);
}