Skip to content

Commit 7370fd5

Browse files
committed
ubinascii: Fix a shadowed variable case.
1 parent e284a95 commit 7370fd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extmod/modubinascii.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ mp_obj_t mod_binascii_b2a_base64(mp_obj_t data) {
173173

174174
// Second pass, we convert number base 64 values to actual base64 ascii encoding
175175
out = (byte*)vstr.buf;
176-
for (mp_uint_t i = vstr.len - 1; i--;) {
176+
for (mp_uint_t j = vstr.len - 1; j--;) {
177177
if (*out < 26) {
178178
*out += 'A';
179179
} else if (*out < 52) {

0 commit comments

Comments
 (0)