commit | 367aabdbf76f7df00fd18e39d9378d1360a526ab | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 08 17:13:06 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 08 17:13:06 2016 +0100 |
tree | f3c5d79a6a1a4ab38241e54e8637fedd8ff1acf3 | |
parent | 8049253b96838b3584600e5ad229abad37a95b10 [diff] [blame] |
patch 7.4.1517 Problem: Compiler warning with 64bit compiler. Solution: Add typecast. (Mike Williams)
diff --git a/src/channel.c b/src/channel.c index e7c25ac..dec0c79 100644 --- a/src/channel.c +++ b/src/channel.c
@@ -1005,7 +1005,7 @@ write_buf_line(buf_T *buf, linenr_T lnum, channel_T *channel) { char_u *line = ml_get_buf(buf, lnum, FALSE); - int len = STRLEN(line); + int len = (int)STRLEN(line); char_u *p; /* TODO: check if channel can be written to, do not block on write */