diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-29 23:10:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-29 23:10:40 +0200 |
commit | 30a8635b56c077834e5b8d59b341d1420fd37dde (patch) | |
tree | 5a3eeeab223242d4762d9fa8898430ee6df81901 /src/misc1.c | |
parent | 40af4e3903d0701318b1b176e5fa9cdb03bb0f98 (diff) | |
download | vim-git-30a8635b56c077834e5b8d59b341d1420fd37dde.tar.gz |
Fix a few compile warnings. (Mike Williams)
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc1.c b/src/misc1.c index 9b8bbf12d..7ee12e3f9 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -9339,8 +9339,8 @@ expand_path_option(curdir, gap) else if (!mch_isFullName(buf)) { /* Expand relative path to their full path equivalent */ - int curdir_len = STRLEN(curdir); - int buf_len = STRLEN(buf); + int curdir_len = (int)STRLEN(curdir); + int buf_len = (int)STRLEN(buf); if (curdir_len + buf_len + 3 > MAXPATHL) continue; @@ -9445,7 +9445,7 @@ uniquefy_paths(gap, pattern) if ((curdir = alloc((int)(MAXPATHL))) == NULL) return; mch_dirname(curdir, MAXPATHL); - len_curdir = STRLEN(curdir); + len_curdir = (int)STRLEN(curdir); expand_path_option(curdir, &path_ga); |