0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0855: cannot build xxd with MSVC 10

Problem:    Cannot build xxd with MSVC 10.
Solution:   Move declaration to start of block.
This commit is contained in:
Bram Moolenaar 2019-01-31 11:00:42 +01:00
parent d8c56a0d29
commit af703585a3
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -472,6 +472,7 @@ main(int argc, char *argv[])
unsigned long displayoff = 0;
static char l[LLEN+1]; /* static because it may be too big for stack */
char *pp;
int addrlen = 9;
#ifdef AMIGA
/* This program doesn't work when started from the Workbench */
@ -820,7 +821,6 @@ main(int argc, char *argv[])
else /* hextype == HEX_BITS */
grplen = 8 * octspergrp + 1;
int addrlen = 9;
e = 0;
while ((length < 0 || n < length) && (e = getc(fp)) != EOF)
{