projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38f0ccb
)
bogus cat (thanks Tron)
author
Matthias Braun
<matze@braunis.de>
Sun, 13 Aug 2006 13:14:28 +0000
(13:14 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sun, 13 Aug 2006 13:14:28 +0000
(13:14 +0000)
SVN-Revision: 4176
src/physfs/physfs_stream.cpp
patch
|
blob
|
history
diff --git
a/src/physfs/physfs_stream.cpp
b/src/physfs/physfs_stream.cpp
index
3a3c74b
..
70175ed
100644
(file)
--- 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();
}