Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 00be7a8

Browse files
committed
py: Fix unix-cpy to compile with uint->mp_uint_t changes.
1 parent 39dc145 commit 00be7a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/compile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ STATIC void cpython_c_tuple_emit_const(compiler_t *comp, mp_parse_node_t pn, vst
500500
case MP_PARSE_NODE_DECIMAL: vstr_printf(vstr, "%s", qstr_str(arg)); break;
501501
case MP_PARSE_NODE_STRING:
502502
case MP_PARSE_NODE_BYTES: {
503-
uint len;
503+
mp_uint_t len;
504504
const byte *str = qstr_data(arg, &len);
505505
cpython_c_print_quoted_str(vstr, (const char*)str, len, MP_PARSE_NODE_LEAF_KIND(pn) == MP_PARSE_NODE_BYTES);
506506
break;
@@ -1564,7 +1564,7 @@ void compile_import_from(compiler_t *comp, mp_parse_node_struct_t *pns) {
15641564
vstr_printf(vstr, ", ");
15651565
}
15661566
vstr_printf(vstr, "'");
1567-
uint len;
1567+
mp_uint_t len;
15681568
const byte *str = qstr_data(id2, &len);
15691569
vstr_add_strn(vstr, (const char*)str, len);
15701570
vstr_printf(vstr, "'");

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