X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vlib%2Fvlib%2Funix%2Fmain.c;h=6ff63f847330889739f1a70d1ed98cf8d3c0e567;hb=refs%2Fchanges%2F55%2F155%2F2;hp=1aac32759a87c76ba1683b9c7d81b615bcc44a24;hpb=da8d4450553ef09aff64eeecb774cb6abecabdb0;p=vpp.git diff --git a/vlib/vlib/unix/main.c b/vlib/vlib/unix/main.c index 1aac32759a8..6ff63f84733 100644 --- a/vlib/vlib/unix/main.c +++ b/vlib/vlib/unix/main.c @@ -403,7 +403,7 @@ static uword thread0 (uword arg) unformat_input_t input; int i; - unformat_init_command_line (&input, vm->argv); + unformat_init_command_line (&input, (char **)vm->argv); i = vlib_main (vm, &input); unformat_free (&input); @@ -430,7 +430,7 @@ int vlib_unix_main (int argc, char * argv[]) if (i) return i; - unformat_init_command_line (&input, vm->argv); + unformat_init_command_line (&input, (char **)vm->argv); vm->init_functions_called = hash_create (0, /* value bytes */ 0); e = vlib_call_all_config_functions (vm, &input, 1 /* early */); if (e != 0)