diff options
author | Gabriel Ganne <gabriel.ganne@enea.com> | 2017-10-12 10:53:31 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-10-14 09:13:39 +0000 |
commit | e3ea79747a3fb6770842a809b818aaf32e06f02b (patch) | |
tree | 7098da8575aa41bc59e11829a03cc41828cafec3 /src/vppinfra | |
parent | 41988e58ba8bced39f3aa85b2a0c0fb37c9343ce (diff) |
change format_get_indent() to use u32 instead of uword
This follows commit d3c008d108aa2187d1a2afe2833b4de25ca2c2ab by
Christophe Fontaine.
Change-Id: I0c4df40df44be2ac0ab25817fa050a1f619eca4d
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/mheap.c | 3 | ||||
-rw-r--r-- | src/vppinfra/std-formats.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vppinfra/mheap.c b/src/vppinfra/mheap.c index 47b7080ad36..c703545954d 100644 --- a/src/vppinfra/mheap.c +++ b/src/vppinfra/mheap.c @@ -1165,7 +1165,8 @@ format_mheap (u8 * s, va_list * va) int verbose = va_arg (*va, int); mheap_t *h; - uword i, size, indent; + uword i, size; + u32 indent; clib_mem_usage_t usage; mheap_elt_t *first_corrupt; diff --git a/src/vppinfra/std-formats.c b/src/vppinfra/std-formats.c index a11d758f284..debf1941791 100644 --- a/src/vppinfra/std-formats.c +++ b/src/vppinfra/std-formats.c @@ -112,7 +112,7 @@ format_hex_bytes (u8 * s, va_list * va) u8 * format_white_space (u8 * s, va_list * va) { - uword n = va_arg (*va, uword); + u32 n = va_arg (*va, u32); while (n-- > 0) vec_add1 (s, ' '); return s; |