0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

updated for version 7.3.920

Problem:    Compiler warning for size_t to int.
Solution:   Add a type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2013-05-04 03:40:27 +02:00
parent 02938a970c
commit 4e0d974645
2 changed files with 3 additions and 1 deletions

View File

@@ -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