From 3eaa0c383317f05b678422f88546ecf21ea4f9bb Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 3 Oct 2014 17:54:25 +0000 Subject: [PATCH] py: Use UINT_FMT instead of %d. --- py/showbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/showbc.c b/py/showbc.c index c25cec85d..214ea9005 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