diff options
Diffstat (limited to 'py')
-rw-r--r-- | py/frozenmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/frozenmod.c b/py/frozenmod.c index 84df30b895..440ae0aacf 100644 --- a/py/frozenmod.c +++ b/py/frozenmod.c @@ -46,7 +46,7 @@ mp_lexer_t *mp_find_frozen_module(const char *str, int len) { mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR_, s, *sz_ptr, 0); return lex; } - s += l + 1 + *sz_ptr++; + s += (l + 1) + (*sz_ptr++ + 1); } return NULL; } |