summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-19 17:43:09 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-19 17:43:09 +0100
commit32526b3c1846025f0e655f41efd4e5428da16b6c (patch)
treee9f3ea5e0daaada049e905b5f1b38b4a45511f3d /src/if_perl.xs
parentd383c92ec1d14ffd5c3802f0ffd763e91d547fa8 (diff)
patch 8.1.0779: argument for message functions is inconsistentv8.1.0779
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 356108598b..203bb6a679 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -798,11 +798,11 @@ msg_split(
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