bogus cat (thanks Tron)
authorMatthias Braun <matze@braunis.de>
Sun, 13 Aug 2006 13:14:28 +0000 (13:14 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 13 Aug 2006 13:14:28 +0000 (13:14 +0000)
SVN-Revision: 4176

src/physfs/physfs_stream.cpp

index 3a3c74b..70175ed 100644 (file)
@@ -49,7 +49,7 @@ IFileStreambuf::underflow()
         return traits_type::eof();
     }
 
-    PHYSFS_sint64 bytesread = (size_t) PHYSFS_read(file, buf, 1, sizeof(buf));
+    PHYSFS_sint64 bytesread = PHYSFS_read(file, buf, 1, sizeof(buf));
     if(bytesread <= 0) {
         return traits_type::eof();
     }