Skip to content

Commit 1c6b442

Browse files
committed
extmod/modubinascii: Don't post-increment variable that won't be used.
1 parent f5309fc commit 1c6b442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/modubinascii.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ mp_obj_t mod_binascii_b2a_base64(mp_obj_t data) {
194194
*out++ = (in[0] & 0x03) << 4;
195195
*out++ = 64;
196196
}
197-
*out++ = 64;
197+
*out = 64;
198198
}
199199

200200
// Second pass, we convert number base 64 values to actual base64 ascii encoding

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy