diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-17 14:31:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-17 14:31:14 +0100 |
commit | e40742526e6ea272c64ca393d7364e4023f4122c (patch) | |
tree | 544891a26da8b96ad32047a2c60e0a5ab723ec2d /src/channel.c | |
parent | e299bbdf6e7edd633501b7a0e11c349c703c361b (diff) |
patch 8.1.0762: compiler warningv8.1.0762
Problem: Compiler warning.
Solution: Add type cast. (Mike Williams)
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c index 0cec71b432..e08081dd71 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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); |