mirror of
https://github.com/vim/vim.git
synced 2025-10-19 08:04:27 -04:00
patch 9.1.1266: MS-Windows: type conversion warnings
Problem: MS-Windows: type conversion warnings Solution: cast the variables (Yegappan Lakshmanan) closes: #17027 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
2f4aa50c91
commit
7b6add0b4a
@@ -1203,8 +1203,8 @@ ins_str(char_u *s, size_t slen)
|
||||
mch_memmove(newp + col, s, slen);
|
||||
mch_memmove(newp + col + slen, oldp + col, (size_t)(oldlen - col + 1));
|
||||
ml_replace(lnum, newp, FALSE);
|
||||
inserted_bytes(lnum, col, slen);
|
||||
curwin->w_cursor.col += slen;
|
||||
inserted_bytes(lnum, col, (int)slen);
|
||||
curwin->w_cursor.col += (colnr_T)slen;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user