mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
fix FTPS win build, license, header guards; fix few warnings
This commit is contained in:
@@ -248,7 +248,7 @@ void ParserEngine::parse(const char* pBuffer, std::size_t size)
|
||||
std::size_t processed = 0;
|
||||
while (processed < size)
|
||||
{
|
||||
const int bufferSize = processed + PARSE_BUFFER_SIZE < size ? PARSE_BUFFER_SIZE : size - processed;
|
||||
const int bufferSize = processed + PARSE_BUFFER_SIZE < size ? PARSE_BUFFER_SIZE : static_cast<int>(size - processed);
|
||||
if (!XML_Parse(_parser, pBuffer + processed, bufferSize, 0))
|
||||
handleError(XML_GetErrorCode(_parser));
|
||||
processed += bufferSize;
|
||||
|
||||
Reference in New Issue
Block a user