aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/help.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-29 18:46:38 +0200
committerGitHub <noreply@github.com>2022-08-29 18:46:38 +0200
commit68efac36831fca40c0a15365d0f0fc2d38c43708 (patch)
tree8494afd25e715b063f7a802584a007a8c62be53e /src/nvim/help.c
parent126fe7fbc9c88c412c8067d9d146d998baf6dd47 (diff)
parent58f30a326f34319801e7921f32c83e8320d85f6c (diff)
downloadrneovim-68efac36831fca40c0a15365d0f0fc2d38c43708.tar.gz
rneovim-68efac36831fca40c0a15365d0f0fc2d38c43708.tar.bz2
rneovim-68efac36831fca40c0a15365d0f0fc2d38c43708.zip
Merge pull request #19973 from dundargoc/refactor/char_u/3
refactor: replace char_u with char 3: revenge of the unsigned
Diffstat (limited to 'src/nvim/help.c')
-rw-r--r--src/nvim/help.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/help.c b/src/nvim/help.c
index 4b2b113437..b25fabca48 100644
--- a/src/nvim/help.c
+++ b/src/nvim/help.c
@@ -803,8 +803,8 @@ void fix_help_buffer(void)
// 'encoding' may be required.
vc.vc_type = CONV_NONE;
convert_setup(&vc,
- (char_u *)(this_utf == kTrue ? "utf-8" : "latin1"),
- (char_u *)p_enc);
+ (this_utf == kTrue ? "utf-8" : "latin1"),
+ p_enc);
if (vc.vc_type == CONV_NONE) {
// No conversion needed.
cp = (char *)IObuff;