Build fix for MacOSX

This commit is contained in:
Matthew Budd 2020-10-08 06:39:08 -04:00
parent ff694ebe49
commit f8e7187f05
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ void RamWatchDialog_t::loadWatchFile (const char *filename)
return;
}
while (fgets (line, sizeof (line) - 1, fp) > 0)
while (fgets (line, sizeof (line) - 1, fp) != NULL)
{
a = -1;
t = -1;