aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/profile.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-10 14:33:43 +0200
committerGitHub <noreply@github.com>2022-09-10 14:33:43 +0200
commit4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9 (patch)
treeb62862e24e506e0010852d23b68c79103637500c /src/nvim/profile.c
parent40f9f479b746d0f76fbdd4bc0567d593ca7a6070 (diff)
parent684bc749efef0fa31395d349f4495d79ec5f3fd5 (diff)
downloadrneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.tar.gz
rneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.tar.bz2
rneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.zip
Merge pull request #20068 from dundargoc/refactor/char_u/10
refactor: replace char_u with char 10: remove `FNAMECMP`, `FNAMENCMP` and `STRLCAT`
Diffstat (limited to 'src/nvim/profile.c')
-rw-r--r--src/nvim/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/profile.c b/src/nvim/profile.c
index 9957224351..50a8a371f5 100644
--- a/src/nvim/profile.c
+++ b/src/nvim/profile.c
@@ -728,7 +728,7 @@ static void script_dump_profile(FILE *fd)
// Keep going till the end of file, so that trailing
// continuation lines are listed.
for (int i = 0;; i++) {
- if (vim_fgets(IObuff, IOSIZE, sfd)) {
+ if (vim_fgets((char_u *)IObuff, IOSIZE, sfd)) {
break;
}
// When a line has been truncated, append NL, taking care