Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58571 - branches/release/boost/iostreams/detail/streambuf
From: hartmut.kaiser_at_[hidden]
Date: 2009-12-29 19:08:22


Author: hkaiser
Date: 2009-12-29 19:08:21 EST (Tue, 29 Dec 2009)
New Revision: 58571
URL: http://svn.boost.org/trac/boost/changeset/58571

Log:
IOStreams: merged from trunk
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 2009-12-29 19:08:21 EST (Tue, 29 Dec 2009)
@@ -167,7 +167,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