forked from aniani/vim
patch 8.1.0762: compiler warning
Problem: Compiler warning. Solution: Add type cast. (Mike Williams)
This commit is contained in:
@@ -4064,7 +4064,7 @@ ch_raw_common(typval_T *argvars, typval_T *rettv, int eval)
|
||||
else
|
||||
{
|
||||
text = tv_get_string_buf(&argvars[1], buf);
|
||||
len = STRLEN(text);
|
||||
len = (int)STRLEN(text);
|
||||
}
|
||||
channel = send_common(argvars, text, len, 0, eval, &opt,
|
||||
eval ? "ch_evalraw" : "ch_sendraw", &part_read);
|
||||
|
Reference in New Issue
Block a user