diff --git a/stepmania/src/RageFile.h b/stepmania/src/RageFile.h index 2805899c8f..93a9dd1469 100644 --- a/stepmania/src/RageFile.h +++ b/stepmania/src/RageFile.h @@ -39,7 +39,7 @@ public: void Close(); bool IsOpen() { return (mFP == NULL); } - bool AtEOF() { return feof(mFP); } + bool AtEOF() { return !!feof(mFP); } int GetError() { return ferror(mFP); } FILE *GetFilePointer() { return mFP; }