From 248a35a42ccd3cafc2adacd9d1672243315d27c4 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Wed, 21 Aug 2013 09:46:53 -0400 Subject: [PATCH] fixed warning --- openbr/plugins/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/draw.cpp b/openbr/plugins/draw.cpp index 69abfd4..ea34e8b 100644 --- a/openbr/plugins/draw.cpp +++ b/openbr/plugins/draw.cpp @@ -326,7 +326,7 @@ class AdjacentOverlayTransform : public Transform std::vector patch_channels; cv::split(im, patch_channels); - for (int i=0; i < channels.size(); i++) + for (size_t i=0; i < channels.size(); i++) { cv::addWeighted(channels[i](target_roi), 0, patch_channels[i % patch_channels.size()], 1, 0,channels[i](target_roi)); } -- libgit2 0.21.4