# HG changeset patch # User Christian Brabandt # Date 1465333206 -7200 # Node ID 9c751c33dc0f0f669a63e0348d3bd903f8cca281 # Parent ae51b358cb0fa494a9b5f0ac8f89b77499434bd1 commit https://github.com/vim/vim/commit/1d5f1d07aedb6f149f5de145b1dfd6528a769c93 Author: Bram Moolenaar Date: Tue Jun 7 22:50:01 2016 +0200 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 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -2574,9 +2574,9 @@ barline_parse(vir_T *virp, char_u *text, 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, */ ++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 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1907, +/**/ 1906, /**/ 1905,