0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0762: compiler warning

Problem:    Compiler warning.
Solution:   Add type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar 2019-01-17 14:31:14 +01:00
parent e299bbdf6e
commit e40742526e
2 changed files with 3 additions and 1 deletions

View File

@ -4064,7 +4064,7 @@ ch_raw_common(typval_T *argvars, typval_T *rettv, int eval)
else else
{ {
text = tv_get_string_buf(&argvars[1], buf); text = tv_get_string_buf(&argvars[1], buf);
len = STRLEN(text); len = (int)STRLEN(text);
} }
channel = send_common(argvars, text, len, 0, eval, &opt, channel = send_common(argvars, text, len, 0, eval, &opt,
eval ? "ch_evalraw" : "ch_sendraw", &part_read); eval ? "ch_evalraw" : "ch_sendraw", &part_read);

View File

@ -795,6 +795,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 */
/**/
762,
/**/ /**/
761, 761,
/**/ /**/