aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-31 20:50:43 +0200
committerGitHub <noreply@github.com>2022-08-31 20:50:43 +0200
commitf078a3453ae479e4d6f88f874e8d282d63c798a3 (patch)
tree60997bc19af85f1292cb0ca7e66e797737006dee /src/nvim/os/fs.c
parent933c80e8f9d7ff4ab634c14d370440702c7c8ed7 (diff)
parentfb1edb2f5728d74ae811c6ab32395598cea5609b (diff)
downloadrneovim-f078a3453ae479e4d6f88f874e8d282d63c798a3.tar.gz
rneovim-f078a3453ae479e4d6f88f874e8d282d63c798a3.tar.bz2
rneovim-f078a3453ae479e4d6f88f874e8d282d63c798a3.zip
Merge pull request #20007 from dundargoc/refactor/char_u/5
refactor: replace char_u with char 5
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r--src/nvim/os/fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index c0d5616666..158c22efaf 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -821,10 +821,10 @@ int os_fchown(int fd, uv_uid_t owner, uv_gid_t group)
/// Check if a path exists.
///
/// @return `true` if `path` exists
-bool os_path_exists(const char_u *path)
+bool os_path_exists(const char *path)
{
uv_stat_t statbuf;
- return os_stat((char *)path, &statbuf) == kLibuvSuccess;
+ return os_stat(path, &statbuf) == kLibuvSuccess;
}
/// Sets file access and modification times.