fixing a version conflict for an if statement

This commit is contained in:
Adrian-Diaz
2019-02-11 18:39:07 -07:00
committed by GitHub
parent 39b6e0b7c8
commit d2093fe8c2

View File

@ -1963,7 +1963,7 @@ void ReadData::parse_keyword(int first)
}
while (eof == 0 && done == 0) {
int blank = strspn(line," \t\n\r");
if ((blank == strlen(line)) || (line[blank] == '#')) {
if ((blank == (int)strlen(line)) || (line[blank] == '#')) {
if (fgets(line,MAXLINE,fp) == NULL) eof = 1;
} else done = 1;
}