Mercurial > vim
changeset 8453:fed4e19bd884 v7.4.1517
commit https://github.com/vim/vim/commit/367aabdbf76f7df00fd18e39d9378d1360a526ab
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 8 17:13:06 2016 +0100
patch 7.4.1517
Problem: Compiler warning with 64bit compiler.
Solution: Add typecast. (Mike Williams)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 08 Mar 2016 17:15:05 +0100 |
parents | cf7b34b211f6 |
children | 41802f51dbb4 |
files | src/channel.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/channel.c +++ b/src/channel.c @@ -1005,7 +1005,7 @@ channel_set_req_callback( 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 */