From b1332d974aa065e3c2a01408625d7c2c5b7fc77c Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Thu, 6 Aug 2020 20:15:30 +0200 Subject: rbutil: Fix compile warning in unit test. Change-Id: Ieb97a6079a70095f7531a90d7117ddf7bfc50afd --- rbutil/rbutilqt/test/test-compareversion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbutil/rbutilqt/test/test-compareversion.cpp b/rbutil/rbutilqt/test/test-compareversion.cpp index c075c2af12..a7c5aef13e 100644 --- a/rbutil/rbutilqt/test/test-compareversion.cpp +++ b/rbutil/rbutilqt/test/test-compareversion.cpp @@ -110,7 +110,7 @@ void TestVersionCompare::testCompare() void TestVersionCompare::testTrim() { - for(int i = 0; i < sizeof(trimdata) / sizeof(struct trimvector); i++) { + for(size_t i = 0; i < sizeof(trimdata) / sizeof(struct trimvector); i++) { QCOMPARE(Utils::trimVersionString(trimdata[i].input), trimdata[i].expected); } } -- cgit v1.2.3