mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
latest changes from main repository; added eclipse cdt project files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// StreamCopier.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Foundation/src/StreamCopier.cpp#11 $
|
||||
// $Id: //poco/Main/Foundation/src/StreamCopier.cpp#12 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Streams
|
||||
@@ -75,7 +75,7 @@ std::streamsize StreamCopier::copyToString(std::istream& istr, std::string& str,
|
||||
while (n > 0)
|
||||
{
|
||||
len += n;
|
||||
str.append(buffer.begin(), n);
|
||||
str.append(buffer.begin(), static_cast<std::string::size_type>(n));
|
||||
if (istr)
|
||||
{
|
||||
istr.read(buffer.begin(), bufferSize);
|
||||
|
||||
Reference in New Issue
Block a user