From ec8390d0b5ab212475f51e53ea7af670836ecf76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=B7=D0=B2=D0=B5=D0=B7=D0=B4=D0=BE=D1=87=D1=91=D1=82?= Date: Sun, 16 Jul 2023 23:25:51 +0300 Subject: [PATCH] 0.2.13: fix warning: comparison of integer expressions of different signedness (#133) --- src/core/Despeckle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Despeckle.cpp b/src/core/Despeckle.cpp index 3fdb55579..7629668a8 100644 --- a/src/core/Despeckle.cpp +++ b/src/core/Despeckle.cpp @@ -762,7 +762,7 @@ Despeckle::despeckleInPlace( } #pragma omp critical { - for (int i = 0; i < components_l.size(); ++i) { + for (size_t i = 0; i < components_l.size(); ++i) { components[i].num_pixels += components_l[i].num_pixels; bounding_boxes[i].extend(bounding_boxes_l[i]); }