diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-04 03:40:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-04 03:40:27 +0200 |
commit | 4e0d974645012c3fc07d1754a4729d21e49773b6 (patch) | |
tree | ba30ff30381065927384d40a53fbcbeaa4b2a048 /src/misc1.c | |
parent | 02938a970cfaf97622417b2cc62eb6a955ef1016 (diff) | |
download | vim-git-4e0d974645012c3fc07d1754a4729d21e49773b6.tar.gz |
updated for version 7.3.920v7.3.920
Problem: Compiler warning for size_t to int.
Solution: Add a type cast. (Mike Williams)
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index 789aad373..913d5aba7 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -10139,7 +10139,7 @@ expand_path_option(curdir, gap) # if defined(MSWIN) || defined(MSDOS) /* Avoid the path ending in a backslash, it fails when a comma is * appended. */ - len = STRLEN(buf); + len = (int)STRLEN(buf); if (buf[len - 1] == '\\') buf[len - 1] = '/'; # endif |