mirror of
https://github.com/vim/vim.git
synced 2025-10-05 05:34:07 -04:00
updated for version 7.4.316
Problem: Warning from 64-bit compiler. Solution: Add type cast. (Mike Williams)
This commit is contained in:
@@ -5202,7 +5202,7 @@ globpath(path, file, ga, expand_options)
|
||||
for (i = 0; i < num_p; ++i)
|
||||
{
|
||||
((char_u **)ga->ga_data)[ga->ga_len] =
|
||||
vim_strnsave(p[i], STRLEN(p[i]));
|
||||
vim_strnsave(p[i], (int)STRLEN(p[i]));
|
||||
++ga->ga_len;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user