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:
@@ -2574,9 +2574,9 @@ barline_parse(vir_T *virp, char_u *text, bval_T *values)
|
|||||||
|
|
||||||
if (vim_isdigit(p[1]))
|
if (vim_isdigit(p[1]))
|
||||||
{
|
{
|
||||||
int len;
|
size_t len;
|
||||||
int todo;
|
size_t todo;
|
||||||
int n;
|
size_t n;
|
||||||
|
|
||||||
/* String value was split into lines that are each shorter
|
/* String value was split into lines that are each shorter
|
||||||
* than LSIZE:
|
* than LSIZE:
|
||||||
@@ -2586,7 +2586,7 @@ barline_parse(vir_T *virp, char_u *text, bval_T *values)
|
|||||||
*/
|
*/
|
||||||
++p;
|
++p;
|
||||||
len = getdigits(&p);
|
len = getdigits(&p);
|
||||||
buf = alloc(len + 1);
|
buf = alloc((int)(len + 1));
|
||||||
p = buf;
|
p = buf;
|
||||||
for (todo = len; todo > 0; todo -= n)
|
for (todo = len; todo > 0; todo -= n)
|
||||||
{
|
{
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1907,
|
||||||
/**/
|
/**/
|
||||||
1906,
|
1906,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user