Fix for loop's variable increment style

This commit is contained in:
Adolfo E. García 2017-10-20 14:54:31 -06:00 committed by Janek Bevendorff
parent 95b0ad15ef
commit d21ae0f94a

View File

@ -94,7 +94,7 @@ Optional<QByteArray> Base32::decode(const QByteArray& encodedData)
quint64 quantum = 0;
int nQuantumBytes = 5;
for (int n = 0; n < 8; n++) {
for (int n = 0; n < 8; ++n) {
quint8 ch = static_cast<quint8>(encodedData[i++]);
if ((ASCII_A <= ch && ch <= ASCII_Z) || (ASCII_a <= ch && ch <= ASCII_z)) {
ch -= ASCII_A;