Skip to content
Snippets Groups Projects
Commit 7370fd55 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

ubinascii: Fix a shadowed variable case.

parent e284a95c
No related branches found
No related tags found
No related merge requests found
...@@ -173,7 +173,7 @@ mp_obj_t mod_binascii_b2a_base64(mp_obj_t data) { ...@@ -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 // Second pass, we convert number base 64 values to actual base64 ascii encoding
out = (byte*)vstr.buf; 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) { if (*out < 26) {
*out += 'A'; *out += 'A';
} else if (*out < 52) { } else if (*out < 52) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment