compiler/libec: (#341, #351, #644, #771) Improved enum type matching and type handlin...
[sdk] / ecere / src / sys / File.ec
index e652211..8a91baa 100644 (file)
@@ -516,7 +516,7 @@ public:
 
    virtual bool Eof(void)
    {
-      return input ? feof(input) : true;
+      return input ? feof(input) != 0 : true;
    }
 
    virtual bool Truncate(FileSize size)