0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1907

Problem:    Warnings from 64 bit compiler.
Solution:   Change type to size_t. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2016-06-07 22:50:01 +02:00
parent 5f1032d2a5
commit 1d5f1d07ae
2 changed files with 6 additions and 4 deletions

View File

@@ -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)
{

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1907,
/**/
1906,
/**/