"build fix for latest clang"

This commit is contained in:
zeromus 2018-04-05 07:14:22 +00:00
parent 352b1747bd
commit 23efe1ed7f
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ void FCEU_LoadGameCheats(FILE *override)
}
FCEU_DispMessage("Cheats file loaded.",0); //Tells user a cheats file was loaded.
while(fgets(linebuf,2048,fp)>0)
while(fgets(linebuf,2048,fp) != nullptr)
{
char *tbuf=linebuf;
int doc=0;