diff options
| author | Ingo Klöcker <[email protected]> | 2023-01-05 19:33:45 +0000 | 
|---|---|---|
| committer | Ingo Klöcker <[email protected]> | 2023-01-05 19:33:45 +0000 | 
| commit | 64da77620a451653e9b8c41bb0c9e58e22967123 (patch) | |
| tree | 5921745da2065e4084b401d8c56ff9f76e144e2a /lang/qt/tests | |
| parent | cpp: Fix comparisons of integer expressions of different signedness (diff) | |
| download | gpgme-64da77620a451653e9b8c41bb0c9e58e22967123.tar.gz gpgme-64da77620a451653e9b8c41bb0c9e58e22967123.zip | |
qt: Fix comparisons of integer expressions of different signedness
* lang/qt/tests/t-import.cpp (ImportTest::testImportWithImportFilter):
Make integer literal unsigned.
--
Diffstat (limited to '')
| -rw-r--r-- | lang/qt/tests/t-import.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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(), "[email protected]");      } | 
