mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
refactor: replace char_u with char 17 - remove STRLCPY (#21235)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1007,7 +1007,7 @@ void ex_mkrc(exarg_T *eap)
|
||||
//
|
||||
// Change to session file's dir.
|
||||
//
|
||||
if (os_dirname(dirnow, MAXPATHL) == FAIL
|
||||
if (os_dirname((char *)dirnow, MAXPATHL) == FAIL
|
||||
|| os_chdir((char *)dirnow) != 0) {
|
||||
*dirnow = NUL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user