mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-04 17:05:23 -05:00
Fix for loop's variable increment style
This commit is contained in:
parent
95b0ad15ef
commit
d21ae0f94a
@ -94,7 +94,7 @@ Optional<QByteArray> Base32::decode(const QByteArray& encodedData)
|
|||||||
quint64 quantum = 0;
|
quint64 quantum = 0;
|
||||||
int nQuantumBytes = 5;
|
int nQuantumBytes = 5;
|
||||||
|
|
||||||
for (int n = 0; n < 8; n++) {
|
for (int n = 0; n < 8; ++n) {
|
||||||
quint8 ch = static_cast<quint8>(encodedData[i++]);
|
quint8 ch = static_cast<quint8>(encodedData[i++]);
|
||||||
if ((ASCII_A <= ch && ch <= ASCII_Z) || (ASCII_a <= ch && ch <= ASCII_z)) {
|
if ((ASCII_A <= ch && ch <= ASCII_Z) || (ASCII_a <= ch && ch <= ASCII_z)) {
|
||||||
ch -= ASCII_A;
|
ch -= ASCII_A;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user