[aarch64] Fixes CLI crashes on dpaa2 platform.
- always use 'va_args' as pointer in all format_* functions
- u32 for all 'indent' params as it's declaration was inconsistent
Change-Id: Ic5799309a6b104c9b50fec309cba789c8da99e79
Signed-off-by: Christophe Fontaine <christophe.fontaine@enea.com>
diff --git a/src/vlib/pci/pci.c b/src/vlib/pci/pci.c
index 7100064..1f1edab 100644
--- a/src/vlib/pci/pci.c
+++ b/src/vlib/pci/pci.c
@@ -171,7 +171,7 @@
{
u8 *data = va_arg (*args, u8 *);
u8 *id = va_arg (*args, u8 *);
- uword indent = format_get_indent (s);
+ u32 indent = format_get_indent (s);
char *string_types[] = { "PN", "EC", "SN", "MN", 0 };
uword p = 0;
int first_line = 1;