commit | e85928a324ab78912ea0f0ceb2dcd9fd686dc3b0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Aug 27 13:10:10 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Aug 27 13:10:10 2017 +0200 |
tree | 33f2d1ec2765520869d95ed91f9f0d52cca3e866 | |
parent | 02e177d3e85e089ebdfba1a7d937150cffcb287a [diff] [blame] |
patch 8.0.1003: 64 bit compiler warning Problem: 64 bit compiler warning Solution: Add type cast. (Mike Williams)
diff --git a/src/channel.c b/src/channel.c index 886522b..508fb0c 100644 --- a/src/channel.c +++ b/src/channel.c
@@ -4890,7 +4890,7 @@ int has_spaces = FALSE; /* First count the number of extra bytes required. */ - slen = STRLEN(arg); + slen = (int)STRLEN(arg); dlen = slen; for (s = arg; *s != NUL; MB_PTR_ADV(s)) {