aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-13 00:14:46 +0200
committerGitHub <noreply@github.com>2022-05-13 00:14:46 +0200
commitaf9c1e572dc1015b7b8f2a8a09d527f54ca080d3 (patch)
treea6e3279c3e56e24812644ffed88b7990a5e52244 /src/nvim/message.c
parente2d3e73748f8dd4a6d7acbfda2d765d1a02dcfb8 (diff)
parent85aae12a6dea48621ea2d24a946b3e7b86f9014d (diff)
downloadrneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.gz
rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.bz2
rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.zip
Merge pull request #18489 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 12a3580831..52eafe6e26 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -586,7 +586,7 @@ void msg_source(int attr)
if (sourcing_name == NULL) {
last_sourcing_name = NULL;
} else {
- last_sourcing_name = vim_strsave(sourcing_name);
+ last_sourcing_name = vim_strsave((char_u *)sourcing_name);
}
}
--no_wait_return;
@@ -2418,7 +2418,7 @@ void msg_reset_scroll(void)
static void inc_msg_scrolled(void)
{
if (*get_vim_var_str(VV_SCROLLSTART) == NUL) {
- char *p = (char *)sourcing_name;
+ char *p = sourcing_name;
char *tofree = NULL;
// v:scrollstart is empty, set it to the script/function name and line