Problem: Build warnings on MS-Windows.
Solution: Add type casts. (Mike Williams)
hist[i].hisnum);
if (vim_strsize(hist[i].hisstr) > (int)Columns - 10)
trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff),
- (int)Columns - 10, IOSIZE - STRLEN(IObuff));
+ (int)Columns - 10, IOSIZE - (int)STRLEN(IObuff));
else
STRCAT(IObuff, hist[i].hisstr);
msg_outtrans(IObuff);
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);
char_u *src;
{
int i;
- int slen = STRLEN(src);
+ int slen = (int)STRLEN(src);
for (i = 0; i < tc_len; ++i)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 413,
/**/
412,
/**/