From: Bram Moolenaar Date: Tue, 7 Jun 2016 20:50:01 +0000 (+0200) Subject: patch 7.4.1907 X-Git-Tag: v7.4.1907 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d5f1d07aedb6f149f5de145b1dfd6528a769c93;p=vim patch 7.4.1907 Problem: Warnings from 64 bit compiler. Solution: Change type to size_t. (Mike Williams) --- diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 9f1db65b5..62b39a2d8 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -2574,9 +2574,9 @@ barline_parse(vir_T *virp, char_u *text, bval_T *values) if (vim_isdigit(p[1])) { - int len; - int todo; - int n; + size_t len; + size_t todo; + size_t n; /* String value was split into lines that are each shorter * than LSIZE: @@ -2586,7 +2586,7 @@ barline_parse(vir_T *virp, char_u *text, bval_T *values) */ ++p; len = getdigits(&p); - buf = alloc(len + 1); + buf = alloc((int)(len + 1)); p = buf; for (todo = len; todo > 0; todo -= n) { diff --git a/src/version.c b/src/version.c index 547f30add..571b54e65 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1907, /**/ 1906, /**/