SICS compiles under RHEL7

This commit is contained in:
2017-01-13 15:43:39 +01:00
parent 2673bb3b6d
commit 2670bafe53
7 changed files with 56 additions and 7 deletions

View File

@@ -130,7 +130,7 @@ int InitPasswd(char *filename)
if (!fp)
return 0;
while ((int) fgets(pLine, 255, fp) != EOF) {
while ((long)fgets(pLine, 255, fp) != EOF) {
if (feof(fp))
break;