latest changes from main repository; added eclipse cdt project files

This commit is contained in:
Guenter Obiltschnig
2007-04-28 12:05:15 +00:00
parent e46a2d8ed7
commit cf20ff1bd7
11 changed files with 47 additions and 46 deletions

View File

@@ -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);