projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made code -Wshadow clean, missed a bunch of issues in the last commit
[supertux.git]
/
src
/
physfs
/
ofile_streambuf.cpp
diff --git
a/src/physfs/ofile_streambuf.cpp
b/src/physfs/ofile_streambuf.cpp
index
c496b62
..
6b862b7
100644
(file)
--- a/
src/physfs/ofile_streambuf.cpp
+++ b/
src/physfs/ofile_streambuf.cpp
@@
-53,8
+53,8
@@
OFileStreambuf::overflow(int c)
return traits_type::eof();
if(c != traits_type::eof()) {
- PHYSFS_sint64 res = PHYSFS_write(file, &c2, 1, 1);
- if(res <= 0)
+ PHYSFS_sint64 res
_
= PHYSFS_write(file, &c2, 1, 1);
+ if(res
_
<= 0)
return traits_type::eof();
}