From 64da77620a451653e9b8c41bb0c9e58e22967123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Thu, 5 Jan 2023 20:33:45 +0100 Subject: [PATCH] qt: Fix comparisons of integer expressions of different signedness * lang/qt/tests/t-import.cpp (ImportTest::testImportWithImportFilter): Make integer literal unsigned. -- --- lang/qt/tests/t-import.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/qt/tests/t-import.cpp b/lang/qt/tests/t-import.cpp index ad226ba5..2991cf3d 100644 --- a/lang/qt/tests/t-import.cpp +++ b/lang/qt/tests/t-import.cpp @@ -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"); }