aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/channel.c')
-rw-r--r--src/nvim/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/channel.c b/src/nvim/channel.c
index f68ee2b39e..a0fe3cc734 100644
--- a/src/nvim/channel.c
+++ b/src/nvim/channel.c
@@ -218,7 +218,7 @@ void channel_create_event(Channel *chan, const char *ext_source)
source = ext_source;
} else {
eval_fmt_source_name_line(IObuff, sizeof(IObuff));
- source = (const char *)IObuff;
+ source = IObuff;
}
assert(chan->id <= VARNUMBER_MAX);