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:
@@ -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
|
||||
|
Reference in New Issue
Block a user