From 4c2945b6830cb865331cd86bc0cee34811902790 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Sun, 18 Sep 2022 17:04:25 +0200 Subject: [PATCH] range_unit_test: fix signed vs unsigned comparison --- src/tests/range_unit_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/range_unit_test.cc b/src/tests/range_unit_test.cc index 7ff4e78..6fed16a 100644 --- a/src/tests/range_unit_test.cc +++ b/src/tests/range_unit_test.cc @@ -32,11 +32,11 @@ namespace { EXPECT_EQ(crx->size(), mSize); EXPECT_EQ(crx->begin() != crx->end(), true); - EXPECT_EQ(crx->begin().pos(), 0); + EXPECT_EQ(crx->begin().pos(), 0u); EXPECT_EQ(crx->end().pos(), mSize); EXPECT_EQ(cr->begin() != cr->end(), true); - EXPECT_EQ(cr->begin().pos(), 0); + EXPECT_EQ(cr->begin().pos(), 0u); EXPECT_EQ(cr->end().pos(), mSize);