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/if_perl.xs b/src/if_perl.xs
index 3561085..203bb6a 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -798,11 +798,11 @@
while ((next = strchr(token, '\n')) && !got_int)
{
*next++ = '\0'; /* replace \n with \0 */
- msg_attr((char_u *)token, attr);
+ msg_attr(token, attr);
token = next;
}
if (*token && !got_int)
- msg_attr((char_u *)token, attr);
+ msg_attr(token, attr);
}
#ifndef FEAT_EVAL