diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-27 13:10:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-27 13:10:10 +0200 |
commit | e85928a324ab78912ea0f0ceb2dcd9fd686dc3b0 (patch) | |
tree | 33f2d1ec2765520869d95ed91f9f0d52cca3e866 /src/channel.c | |
parent | 02e177d3e85e089ebdfba1a7d937150cffcb287a (diff) | |
download | vim-git-e85928a324ab78912ea0f0ceb2dcd9fd686dc3b0.tar.gz |
patch 8.0.1003: 64 bit compiler warningv8.0.1003
Problem: 64 bit 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 886522bff..508fb0c0f 100644 --- a/src/channel.c +++ b/src/channel.c @@ -4890,7 +4890,7 @@ win32_escape_arg(char_u *arg) 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)) { |