1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix type used to hold fgetc(3) output, this should help arm and powerpc

which have char == unsigned char
This commit is contained in:
Ulrich Spörlein 2010-12-20 19:08:07 +00:00
parent bf55df1986
commit 057747a467
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216599

View File

@ -1940,7 +1940,7 @@ static void load_xilinx(char *name)
FILE *f;
char *ucode;
int i, length;
char c;
int c;
if (verbose) printf("Load firmware from file %s...\n", name);
if ((f = fopen(name, "r")) == 0)