mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
eval,*: Move get_tv_string to typval.c
Function was renamed and changed to return `const char *`.
This commit is contained in:
@@ -1081,7 +1081,7 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf,
|
||||
*/
|
||||
perm = 0600;
|
||||
if (buf->b_ffname != NULL) {
|
||||
perm = os_getperm(buf->b_ffname);
|
||||
perm = os_getperm((const char *)buf->b_ffname);
|
||||
if (perm < 0) {
|
||||
perm = 0600;
|
||||
}
|
||||
|
Reference in New Issue
Block a user