From 81cac67efb288daafd179c670df1e3de7f8f9aad Mon Sep 17 00:00:00 2001 From: saturneric Date: Thu, 17 Apr 2025 14:17:10 +0200 Subject: fix: compiler issues on CI --- src/core/function/gpg/GpgSmartCardManager.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/core/function/gpg/GpgSmartCardManager.cpp') diff --git a/src/core/function/gpg/GpgSmartCardManager.cpp b/src/core/function/gpg/GpgSmartCardManager.cpp index b4b660cf..4c55b63d 100644 --- a/src/core/function/gpg/GpgSmartCardManager.cpp +++ b/src/core/function/gpg/GpgSmartCardManager.cpp @@ -182,9 +182,10 @@ auto PercentDataEscape(const QByteArray& data, bool plus_escape = false, if (!prefix.isEmpty()) { for (QChar ch : prefix) { if (ch == '%' || ch.unicode() < 0x20) { - result += QString("%%%1") - .arg(ch.unicode(), 2, 16, QLatin1Char('0')) - .toUpper(); + result += + QString("%%%1") + .arg(static_cast(ch.unicode()), 2, 16, QLatin1Char('0')) + .toUpper(); } else { result += ch; } -- cgit v1.2.3