From 2c9393e43a61db3d727dd4d0919e31a17b281211 Mon Sep 17 00:00:00 2001 From: Zhuo Zhang Date: Sat, 5 Dec 2020 17:23:03 +0800 Subject: [PATCH] fix examples/yolact.cpp sign-compare (#2392) --- examples/yolact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/yolact.cpp b/examples/yolact.cpp index 0ca94cdf..88fbfb7d 100644 --- a/examples/yolact.cpp +++ b/examples/yolact.cpp @@ -298,7 +298,7 @@ static int detect_yolact(const cv::Mat& bgr, std::vector& objects) } // generate mask - for (int i = 0; i < objects.size(); i++) + for (int i = 0; i < (int)objects.size(); i++) { Object& obj = objects[i]; -- GitLab