Skip to content

Commit

Permalink
Fix type used to hold fgetc(3) output, this should help arm and powerpc
Browse files Browse the repository at this point in the history
which have char == unsigned char
  • Loading branch information
uqs committed Dec 20, 2010
1 parent 755da7b commit d52f13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.sbin/lmcconfig/lmcconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d52f13d

Please sign in to comment.