summaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-05-30 09:26:11 +0200
committerMarco Varlese <marco.varlese@suse.de>2018-05-30 10:37:39 +0000
commitffe9d21b07ce4b607fd9a774df04f9f1f38eb197 (patch)
treef6f5163ff56d19318bb277f8b0f01cac8359ebe1 /src/vat
parented256991f326ce91dd12f6584baf81b2aa5aae4a (diff)
vppinfra: explicitely state for signed types that they are signed
This fixes some compilation warnings with clang on AArch64. Change-Id: Idb941944e3f199f483c80e143a9e5163a031c4aa Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vat')
-rw-r--r--src/vat/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vat/main.c b/src/vat/main.c
index 723c5e8cc3a..4357114376d 100644
--- a/src/vat/main.c
+++ b/src/vat/main.c
@@ -117,7 +117,7 @@ do_one_file (vat_main_t * vam)
vec_free (this_cmd);
this_cmd =
- (u8 *) clib_macro_eval (&vam->macro_main, (char *) vam->inbuf,
+ (u8 *) clib_macro_eval (&vam->macro_main, (i8 *) vam->inbuf,
1 /* complain */ );
if (vam->exec_mode == 0)