From: Matthias Braun Date: Sun, 13 Aug 2006 13:14:28 +0000 (+0000) Subject: bogus cat (thanks Tron) X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cc5c936c476312c5b18d55dd58c19fa362b264d6;p=supertux.git bogus cat (thanks Tron) SVN-Revision: 4176 --- diff --git a/src/physfs/physfs_stream.cpp b/src/physfs/physfs_stream.cpp index 3a3c74b63..70175ed07 100644 --- a/src/physfs/physfs_stream.cpp +++ b/src/physfs/physfs_stream.cpp @@ -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(); }