fixed a warning

This commit is contained in:
Günter Obiltschnig 2014-10-07 12:04:03 +02:00
parent c1976b8fd4
commit 75919178fb

View File

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