mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.413
Problem: Build warnings on MS-Windows. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -325,7 +325,7 @@ trunc_string(s, buf, room, buflen)
|
||||
if (e + 3 < buflen)
|
||||
{
|
||||
mch_memmove(buf + e, "...", (size_t)3);
|
||||
len = STRLEN(s + i) + 1;
|
||||
len = (int)STRLEN(s + i) + 1;
|
||||
if (len >= buflen - e - 3)
|
||||
len = buflen - e - 3 - 1;
|
||||
mch_memmove(buf + e + 3, s + i, len);
|
||||
|
Reference in New Issue
Block a user