mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-07 09:48:04 +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
|
// count only, don't move stream position
|
||||||
std::streamsize partlen = ita->pSource->getContentLength();
|
std::streamsize partlen = ita->pSource->getContentLength();
|
||||||
if (partlen != PartSource::UNKNOWN_CONTENT_LENGTH)
|
if (partlen != PartSource::UNKNOWN_CONTENT_LENGTH)
|
||||||
costr->addChars(partlen);
|
costr->addChars(static_cast<int>(partlen));
|
||||||
else
|
else
|
||||||
costr->setIsValid(false);
|
costr->setIsValid(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user