Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58640 - branches/release/boost/iostreams/detail/streambuf
From: daniel_james_at_[hidden]
Date: 2010-01-02 08:01:46


Author: danieljames
Date: 2010-01-02 08:01:45 EST (Sat, 02 Jan 2010)
New Revision: 58640
URL: http://svn.boost.org/trac/boost/changeset/58640

Log:
Merge missing iostreams change.
Text files modified:
   branches/release/boost/iostreams/detail/streambuf/indirect_streambuf.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/boost/iostreams/detail/streambuf/indirect_streambuf.hpp
==============================================================================
--- branches/release/boost/iostreams/detail/streambuf/indirect_streambuf.hpp (original)
+++ branches/release/boost/iostreams/detail/streambuf/indirect_streambuf.hpp 2010-01-02 08:01:45 EST (Sat, 02 Jan 2010)
@@ -168,7 +168,7 @@
 
     // Construct input buffer.
     if (can_read()) {
- pback_size_ = (std::max)(2, pback_size); // STLPort needs 2.
+ pback_size_ = (std::max)(std::streamsize(2), pback_size); // STLPort needs 2.
         std::streamsize size =
             pback_size_ +
             ( buffer_size ? buffer_size: 1 );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk