summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-29 23:10:40 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-29 23:10:40 +0200
commit30a8635b56c077834e5b8d59b341d1420fd37dde (patch)
tree5a3eeeab223242d4762d9fa8898430ee6df81901 /src/misc1.c
parent40af4e3903d0701318b1b176e5fa9cdb03bb0f98 (diff)
downloadvim-git-30a8635b56c077834e5b8d59b341d1420fd37dde.tar.gz
Fix a few compile warnings. (Mike Williams)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c6
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);