summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-27 13:10:10 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-27 13:10:10 +0200
commite85928a324ab78912ea0f0ceb2dcd9fd686dc3b0 (patch)
tree33f2d1ec2765520869d95ed91f9f0d52cca3e866 /src
parent02e177d3e85e089ebdfba1a7d937150cffcb287a (diff)
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')
-rw-r--r--src/channel.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c
index 886522bffc..508fb0c0f3 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))
{
diff --git a/src/version.c b/src/version.c
index d79f429bb5..16d310df57 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1003,
+/**/
1002,
/**/
1001,