diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-06 20:15:30 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-16 12:12:48 +0200 |
commit | b1332d974aa065e3c2a01408625d7c2c5b7fc77c (patch) | |
tree | 678aa55f8f19913da157f4cb19db9629db4e1184 /rbutil/rbutilqt/test/test-compareversion.cpp | |
parent | 84bfd68fb5fc32debaf95551ffeafb5ea1583033 (diff) |
rbutil: Fix compile warning in unit test.
Change-Id: Ieb97a6079a70095f7531a90d7117ddf7bfc50afd
Diffstat (limited to 'rbutil/rbutilqt/test/test-compareversion.cpp')
-rw-r--r-- | rbutil/rbutilqt/test/test-compareversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |