Commit 7370fd55 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

ubinascii: Fix a shadowed variable case.

parent e284a95c
......@@ -173,7 +173,7 @@ mp_obj_t mod_binascii_b2a_base64(mp_obj_t data) {
// Second pass, we convert number base 64 values to actual base64 ascii encoding
out = (byte*)vstr.buf;
for (mp_uint_t i = vstr.len - 1; i--;) {
for (mp_uint_t j = vstr.len - 1; j--;) {
if (*out < 26) {
*out += 'A';
} else if (*out < 52) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment