aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/mheap.c3
-rw-r--r--src/vppinfra/std-formats.c2
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;