From cc5c936c476312c5b18d55dd58c19fa362b264d6 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sun, 13 Aug 2006 13:14:28 +0000 Subject: [PATCH] bogus cat (thanks Tron) SVN-Revision: 4176 --- src/physfs/physfs_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.11.0