summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-22 14:18:09 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-22 14:18:58 +0200
commit93934f886f919d5e6fcc33cf2fab2f36cd9e3d66 (patch)
treecbe96f46b4ce4caea85870750648430df115b61d /cpukit/libmisc/shell
parentdev/i2c: Fix integer type (diff)
downloadrtems-93934f886f919d5e6fcc33cf2fab2f36cd9e3d66.tar.bz2
heap: Fix integer types
Update #3082.
Diffstat (limited to 'cpukit/libmisc/shell')
-rw-r--r--cpukit/libmisc/shell/print_heapinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/print_heapinfo.c b/cpukit/libmisc/shell/print_heapinfo.c
index 719f7116c3..45cb8e8238 100644
--- a/cpukit/libmisc/shell/print_heapinfo.c
+++ b/cpukit/libmisc/shell/print_heapinfo.c
@@ -24,9 +24,9 @@ void rtems_shell_print_heap_info(
)
{
printf(
- "Number of %s blocks: %12" PRIu32 "\n"
- "Largest %s block: %12" PRIu32 "\n"
- "Total bytes %s: %12" PRIu32 "\n",
+ "Number of %s blocks: %12" PRIuPTR "\n"
+ "Largest %s block: %12" PRIuPTR "\n"
+ "Total bytes %s: %12" PRIuPTR "\n",
c, h->number,
c, h->largest,
c, h->total