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

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)