diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-31 03:19:15 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-31 03:19:15 +0300 |
commit | 3dfa76cb85faa92a7301de686ec8d6b7666027f7 (patch) | |
tree | 820665212c10592c3fa1aa0472233ed457c1108e | |
parent | 914bcf16d847400f91525ba82775adc973cae52a (diff) | |
download | micropython-3dfa76cb85faa92a7301de686ec8d6b7666027f7.tar.gz micropython-3dfa76cb85faa92a7301de686ec8d6b7666027f7.zip |
unix: 64-bit cleanness.
-rw-r--r-- | unix/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/main.c b/unix/main.c index 938c133d41..c9f38d6139 100644 --- a/unix/main.c +++ b/unix/main.c @@ -215,7 +215,7 @@ mp_obj_t mem_info(void) { volatile int stack_dummy; printf("mem: total=%d, current=%d, peak=%d\n", m_get_total_bytes_allocated(), m_get_current_bytes_allocated(), m_get_peak_bytes_allocated()); - printf("stack: %d\n", stack_top - (char*)&stack_dummy); + printf("stack: " INT_FMT "\n", stack_top - (char*)&stack_dummy); #if MICROPY_ENABLE_GC gc_dump_info(); #endif |