[aarch64] Fixes CLI crashes on dpaa2 platform.
[vpp.git] / src / vppinfra / std-formats.c
index ac98f99..a11d758 100644 (file)
@@ -89,7 +89,7 @@ format_hex_bytes (u8 * s, va_list * va)
 
   /* Print short or long form depending on byte count. */
   uword short_form = n_bytes <= 32;
-  uword indent = format_get_indent (s);
+  u32 indent = format_get_indent (s);
 
   if (n_bytes == 0)
     return s;
@@ -286,7 +286,7 @@ format_hexdump (u8 * s, va_list * args)
   const int line_len = 16;
   u8 *line_hex = 0;
   u8 *line_str = 0;
-  uword indent = format_get_indent (s);
+  u32 indent = format_get_indent (s);
 
   if (!len)
     return s;