qt: Fix comparisons of integer expressions of different signedness

* lang/qt/tests/t-import.cpp (ImportTest::testImportWithImportFilter):
Make integer literal unsigned.
--
This commit is contained in:
Ingo Klöcker 2023-01-05 20:33:45 +01:00
parent 2e9d72a0be
commit 64da77620a
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9

View File

@ -115,7 +115,7 @@ private Q_SLOTS:
GpgME::Error err;
const auto key = ctx->key(keyFpr, err, false);
QVERIFY(!key.isNull());
QCOMPARE(key.numUserIDs(), 1);
QCOMPARE(key.numUserIDs(), 1u);
QCOMPARE(key.userID(0).id(), "importWithImportFilter@example.net");
}