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/netbeans.c b/src/netbeans.c
index 823bdae..b36d868 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -3437,7 +3437,7 @@
/* Now display it */
VIM_CLEAR(keep_msg);
msg_scrolled_ign = TRUE;
- msg_trunc_attr(IObuff, FALSE, 0);
+ msg_trunc_attr((char *)IObuff, FALSE, 0);
msg_scrolled_ign = FALSE;
}
@@ -3464,7 +3464,7 @@
VIM_CLEAR(keep_msg);
msg_scrolled_ign = TRUE;
- p = msg_trunc_attr(IObuff, FALSE, 0);
+ p = (char_u *)msg_trunc_attr((char *)IObuff, FALSE, 0);
if ((msg_scrolled && !need_wait_return) || !buf->initDone)
{
/* Need to repeat the message after redrawing when: