diff options
author | ZyX <kp-pav@yandex.ru> | 2016-09-04 02:25:24 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-29 10:08:05 +0300 |
commit | c8e63a8db84e9d9f7bd855085a87d93631504fc7 (patch) | |
tree | 5c08bf960178f7a4edc7a5f9918dfd6e0424b098 /src/nvim/undo.c | |
parent | 50ebd1dff5c4e995c4f7e7980870e43d9defabc6 (diff) | |
download | rneovim-c8e63a8db84e9d9f7bd855085a87d93631504fc7.tar.gz rneovim-c8e63a8db84e9d9f7bd855085a87d93631504fc7.tar.bz2 rneovim-c8e63a8db84e9d9f7bd855085a87d93631504fc7.zip |
eval: Move remaining get_tv_string* functions to eval/typval.c
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 010ef2c8fa..4d4e8d9bb9 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1140,7 +1140,7 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf, EMSG2(_(e_not_open), file_name); goto theend; } - (void)os_setperm((char_u *)file_name, perm); + (void)os_setperm(file_name, perm); if (p_verbose > 0) { verbose_enter(); smsg(_("Writing undo file: %s"), file_name); @@ -1165,7 +1165,7 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf, && os_fileinfo(file_name, &file_info_new) && file_info_old.stat.st_gid != file_info_new.stat.st_gid && os_fchown(fd, (uv_uid_t)-1, (uv_gid_t)file_info_old.stat.st_gid)) { - os_setperm((char_u *)file_name, (perm & 0707) | ((perm & 07) << 3)); + os_setperm(file_name, (perm & 0707) | ((perm & 07) << 3)); } # ifdef HAVE_SELINUX if (buf->b_ffname != NULL) |