mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
2b04b19455
commit
38f5f9529a
@ -5923,7 +5923,7 @@ ex_history(eap)
|
|||||||
hist[i].hisnum);
|
hist[i].hisnum);
|
||||||
if (vim_strsize(hist[i].hisstr) > (int)Columns - 10)
|
if (vim_strsize(hist[i].hisstr) > (int)Columns - 10)
|
||||||
trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff),
|
trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff),
|
||||||
(int)Columns - 10, IOSIZE - STRLEN(IObuff));
|
(int)Columns - 10, IOSIZE - (int)STRLEN(IObuff));
|
||||||
else
|
else
|
||||||
STRCAT(IObuff, hist[i].hisstr);
|
STRCAT(IObuff, hist[i].hisstr);
|
||||||
msg_outtrans(IObuff);
|
msg_outtrans(IObuff);
|
||||||
|
@ -325,7 +325,7 @@ trunc_string(s, buf, room, buflen)
|
|||||||
if (e + 3 < buflen)
|
if (e + 3 < buflen)
|
||||||
{
|
{
|
||||||
mch_memmove(buf + e, "...", (size_t)3);
|
mch_memmove(buf + e, "...", (size_t)3);
|
||||||
len = STRLEN(s + i) + 1;
|
len = (int)STRLEN(s + i) + 1;
|
||||||
if (len >= buflen - e - 3)
|
if (len >= buflen - e - 3)
|
||||||
len = buflen - e - 3 - 1;
|
len = buflen - e - 3 - 1;
|
||||||
mch_memmove(buf + e + 3, s + i, len);
|
mch_memmove(buf + e + 3, s + i, len);
|
||||||
|
@ -5252,7 +5252,7 @@ find_term_bykeys(src)
|
|||||||
char_u *src;
|
char_u *src;
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int slen = STRLEN(src);
|
int slen = (int)STRLEN(src);
|
||||||
|
|
||||||
for (i = 0; i < tc_len; ++i)
|
for (i = 0; i < tc_len; ++i)
|
||||||
{
|
{
|
||||||
|
@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
413,
|
||||||
/**/
|
/**/
|
||||||
412,
|
412,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user