summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index d9e1687..34f8af0 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -2103,7 +2103,7 @@ void touch()
free(command);
}
-char *type_to_name(vtw_type_e type) {
+const char *type_to_name(vtw_type_e type) {
switch(type) {
case INT_TYPE: return("u32");
case IPV4_TYPE: return("ipv4");