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:
@@ -119,7 +119,7 @@ void er_show(vector<Mat> &channels, vector<vector<ERStat> > ®ions)
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user