diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:54:25 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:54:25 +0000 |
commit | 3eaa0c383317f05b678422f88546ecf21ea4f9bb (patch) | |
tree | 489ea3fec72886907e9e5ac4d5d5062f72251732 | |
parent | 42f3de924bc3e285490f5f293955bc6d7e5a0edf (diff) | |
download | micropython-3eaa0c383317f05b678422f88546ecf21ea4f9bb.tar.gz micropython-3eaa0c383317f05b678422f88546ecf21ea4f9bb.zip |
py: Use UINT_FMT instead of %d.
-rw-r--r-- | py/showbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/showbc.c b/py/showbc.c index c25cec85d1..214ea90050 100644 --- a/py/showbc.c +++ b/py/showbc.c @@ -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 |