aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/typval_encode.c.h
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-01 11:18:17 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-03 10:33:40 +0200
commitb9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (patch)
tree807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/eval/typval_encode.c.h
parent46734cf7c1e5abe8e452354db6914364bfe89f0d (diff)
downloadrneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.gz
rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.bz2
rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/eval/typval_encode.c.h')
-rw-r--r--src/nvim/eval/typval_encode.c.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/eval/typval_encode.c.h b/src/nvim/eval/typval_encode.c.h
index ece51cb046..42b0544ef9 100644
--- a/src/nvim/eval/typval_encode.c.h
+++ b/src/nvim/eval/typval_encode.c.h
@@ -343,8 +343,7 @@ static int _TYPVAL_ENCODE_CONVERT_ONE_VALUE(
case VAR_PARTIAL: {
partial_T *const pt = tv->vval.v_partial;
(void)pt;
- TYPVAL_ENCODE_CONV_FUNC_START( // -V547
- tv, (pt == NULL ? NULL : partial_name(pt)));
+ TYPVAL_ENCODE_CONV_FUNC_START(tv, (pt == NULL ? NULL : (char_u *)partial_name(pt))); // -V547
_mp_push(*mpstack, ((MPConvStackVal) { // -V779
.type = kMPConvPartial,
.tv = tv,