Index: trunk/src/io/c_stream.cc
===================================================================
--- trunk/src/io/c_stream.cc	(revision 484)
+++ trunk/src/io/c_stream.cc	(revision 486)
@@ -98,5 +98,6 @@
 	if ( m_file != nullptr )
 	{
-		return ::feof( reinterpret_cast<FILE*>( m_file ) );
+		return ::feof( reinterpret_cast<FILE*>( m_file ) ) != 0;
 	}
+	return true;
 }
