VPP API: Memory trace
[vpp.git] / src / vppinfra / test_macros.c
index de8f2c4..05299b3 100644 (file)
@@ -26,13 +26,14 @@ test_macros_main (unformat_input_t * input)
   clib_macro_init (mm);
 
   fformat (stdout, "hostname: %s\n",
-          clib_macro_eval_dollar (mm, "hostname", 1 /* complain */ ));
+          clib_macro_eval_dollar (mm, (i8 *) "hostname", 1 /* complain */ ));
 
   clib_macro_set_value (mm, "foo", "this is foo which contains $(bar)");
   clib_macro_set_value (mm, "bar", "bar");
 
   fformat (stdout, "evaluate: %s\n",
-          clib_macro_eval (mm, "returns '$(foo)'", 1 /* complain */ ));
+          clib_macro_eval (mm, (i8 *) "returns '$(foo)'",
+                           1 /* complain */ ));
 
   clib_macro_free (mm);