diff options
author | Saturn&Eric <[email protected]> | 2025-04-30 15:48:47 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2025-04-30 15:48:47 +0000 |
commit | b927f57e5765bb9777e98f114e43541da9a36256 (patch) | |
tree | 31f19c535a32989bd2f8d213644cfba082d86b8a /src/core/function/gpg/GpgSmartCardManager.cpp | |
parent | Merge pull request #209 from x86txt/fix-linux-dark-mode-qt6 (diff) | |
parent | rpm_works (diff) | |
download | GpgFrontend-b927f57e5765bb9777e98f114e43541da9a36256.tar.gz GpgFrontend-b927f57e5765bb9777e98f114e43541da9a36256.zip |
Merge pull request #212 from Anthony-Lloyd/main
fix for compiling and packaging for fedora42
Diffstat (limited to 'src/core/function/gpg/GpgSmartCardManager.cpp')
-rw-r--r-- | src/core/function/gpg/GpgSmartCardManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/function/gpg/GpgSmartCardManager.cpp b/src/core/function/gpg/GpgSmartCardManager.cpp index 203c36ec..e0608dd3 100644 --- a/src/core/function/gpg/GpgSmartCardManager.cpp +++ b/src/core/function/gpg/GpgSmartCardManager.cpp @@ -204,7 +204,7 @@ auto PercentDataEscape(const QByteArray& data, bool plus_escape = false, } else if (plus_escape && ch == ' ') { result += '+'; } else if (plus_escape && (ch < 0x20 || ch == '+')) { - result += QString("%%%1").arg(ch, 2, 16, QLatin1Char('0')).toUpper(); + result += QString("%%%1").arg(static_cast<int>(static_cast<unsigned char>(ch)), 2, 16, QLatin1Char('0')).toUpper(); } else { result += QLatin1Char(ch); } |