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:
parent
bf55df1986
commit
057747a467
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216599
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user