extmod/modubinascii: Don't post-increment variable that won't be used.

This commit is contained in:
Damien George 2017-08-21 22:05:09 +10:00
parent f5309fc4ff
commit 1c6b442d32
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ mp_obj_t mod_binascii_b2a_base64(mp_obj_t data) {
*out++ = (in[0] & 0x03) << 4;
*out++ = 64;
}
*out++ = 64;
*out = 64;
}
// Second pass, we convert number base 64 values to actual base64 ascii encoding