mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fixed a warning
This commit is contained in:
parent
c1976b8fd4
commit
75919178fb
@ -400,7 +400,7 @@ void HTMLForm::writeMultipart(std::ostream& ostr)
|
||||
// count only, don't move stream position
|
||||
std::streamsize partlen = ita->pSource->getContentLength();
|
||||
if (partlen != PartSource::UNKNOWN_CONTENT_LENGTH)
|
||||
costr->addChars(partlen);
|
||||
costr->addChars(static_cast<int>(partlen));
|
||||
else
|
||||
costr->setIsValid(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user