X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fphysfs%2Fofile_streambuf.cpp;h=6b862b7263f4a38650db78ba9c6c0fdf40f0ba67;hb=1240eda3ac57e6607b206e3c9cf7feb65c3be620;hp=c496b621e923629760974518a76fc7f7d9c9a2e1;hpb=6a9ba9ef724869d7196f4d09529dfb87799da838;p=supertux.git diff --git a/src/physfs/ofile_streambuf.cpp b/src/physfs/ofile_streambuf.cpp index c496b621e..6b862b726 100644 --- 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(); }