patch 8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 1bdb722..ac009e6 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -7169,7 +7169,7 @@
for (li = argvars[0].vval.v_list->lv_first; li != NULL; li = li->li_next)
{
- msg_puts(tv_get_string(&li->li_tv));
+ msg_puts((char *)tv_get_string(&li->li_tv));
msg_putchar('\n');
}
@@ -7198,7 +7198,7 @@
}
else if (p_verbose > 1)
{
- verb_msg((char_u *)_("called inputrestore() more often than inputsave()"));
+ verb_msg(_("called inputrestore() more often than inputsave()"));
rettv->vval.v_number = 1; /* Failed */
}
}