'fgetc()' returns int

This commit is contained in:
Jonas Kulla 2014-07-19 11:11:27 +00:00
parent a56d446664
commit 83ceed5592
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ readLine(FILE *f, std::vector<char> &buffer)
if (feof(f))
break;
char c = fgetc(f);
int c = fgetc(f);
if (c == '\n' || c == EOF)
break;