comparison src/channel.c @ 15508:69207f77754a v8.1.0762

patch 8.1.0762: compiler warning commit https://github.com/vim/vim/commit/e40742526e6ea272c64ca393d7364e4023f4122c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 14:31:14 2019 +0100 patch 8.1.0762: compiler warning Problem: Compiler warning. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 14:45:11 +0100
parents 55ccc2d353bd
children 3ef31ce9d9f9
comparison
equal deleted inserted replaced
15507:d0016f2cc28f 15508:69207f77754a
4062 len = argvars[1].vval.v_blob->bv_ga.ga_len; 4062 len = argvars[1].vval.v_blob->bv_ga.ga_len;
4063 } 4063 }
4064 else 4064 else
4065 { 4065 {
4066 text = tv_get_string_buf(&argvars[1], buf); 4066 text = tv_get_string_buf(&argvars[1], buf);
4067 len = STRLEN(text); 4067 len = (int)STRLEN(text);
4068 } 4068 }
4069 channel = send_common(argvars, text, len, 0, eval, &opt, 4069 channel = send_common(argvars, text, len, 0, eval, &opt,
4070 eval ? "ch_evalraw" : "ch_sendraw", &part_read); 4070 eval ? "ch_evalraw" : "ch_sendraw", &part_read);
4071 if (channel != NULL && eval) 4071 if (channel != NULL && eval)
4072 { 4072 {