1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

build: fix MSVS2017 warning

This commit is contained in:
Alexander Alekhin
2017-09-29 18:16:55 +03:00
committed by Alexander Alekhin
parent a9effeeb35
commit 1f18282f04
4 changed files with 14 additions and 4 deletions
@@ -63,7 +63,7 @@ void ExposureCompensator::feed(const std::vector<Point> &corners, const std::vec
{
std::vector<std::pair<UMat,uchar> > level_masks;
for (size_t i = 0; i < masks.size(); ++i)
level_masks.push_back(std::make_pair(masks[i], 255));
level_masks.push_back(std::make_pair(masks[i], (uchar)255));
feed(corners, images, level_masks);
}