aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/t-various.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/tests/t-various.cpp')
-rw-r--r--lang/qt/tests/t-various.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/tests/t-various.cpp b/lang/qt/tests/t-various.cpp
index 72a2487a..dca34d30 100644
--- a/lang/qt/tests/t-various.cpp
+++ b/lang/qt/tests/t-various.cpp
@@ -230,7 +230,7 @@ private Q_SLOTS:
std::vector<Subkey> primaryKey;
primaryKey.push_back(key.subkey(0));
const auto err = ctx->setExpire(key, 3000, primaryKey);
- QCOMPARE(err.code(), GPG_ERR_NOT_FOUND);
+ QCOMPARE(err.code(), static_cast<int>(GPG_ERR_NOT_FOUND));
delete ctx;
}