diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-05 21:51:54 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-05 21:51:54 +0100 |
commit | d03c6816083c8ce8a35d278ede48c4089012b055 (patch) | |
tree | 649e2d3bf056a44109fb1f69bf1c855f3b11d067 /stmhal/modpyb.c | |
parent | c4d0868df1117ad243ee8f7238985a822b0f775d (diff) |
stmhal: Use mp_uint_t where appropriate.
Found these by compiling stmhal with mp_uint_t of type uint32_t instead
of unsigned int. This actually makes a difference to the code, but just
a curiosity.
Diffstat (limited to 'stmhal/modpyb.c')
-rw-r--r-- | stmhal/modpyb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/modpyb.c b/stmhal/modpyb.c index 8252b057a..522f95017 100644 --- a/stmhal/modpyb.c +++ b/stmhal/modpyb.c @@ -126,7 +126,7 @@ STATIC mp_obj_t pyb_info(mp_uint_t n_args, const mp_obj_t *args) { { mp_uint_t n_pool, n_qstr, n_str_data_bytes, n_total_bytes; qstr_pool_info(&n_pool, &n_qstr, &n_str_data_bytes, &n_total_bytes); - printf("qstr:\n n_pool=%u\n n_qstr=%u\n n_str_data_bytes=%u\n n_total_bytes=%u\n", n_pool, n_qstr, n_str_data_bytes, n_total_bytes); + printf("qstr:\n n_pool=" UINT_FMT "\n n_qstr=" UINT_FMT "\n n_str_data_bytes=" UINT_FMT "\n n_total_bytes=" UINT_FMT "\n", n_pool, n_qstr, n_str_data_bytes, n_total_bytes); } // GC info |