Commit 3eaa0c38 authored by Damien George's avatar Damien George
Browse files

py: Use UINT_FMT instead of %d.

parent 42f3de92
......@@ -67,7 +67,7 @@ void mp_bytecode_print(const void *descr, const byte *ip, mp_uint_t len) {
qstr block_name = mp_decode_uint(&code_info);
qstr source_file = mp_decode_uint(&code_info);
printf("File %s, code block '%s' (descriptor: %p, bytecode @%p %d bytes)\n",
printf("File %s, code block '%s' (descriptor: %p, bytecode @%p " UINT_FMT " bytes)\n",
qstr_str(source_file), qstr_str(block_name), descr, code_info, len);
// bytecode prelude: state size and exception stack size; 16 bit uints
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment