From 75919178fbe6d41ed1cf95abfa793911b338a8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Tue, 7 Oct 2014 12:04:03 +0200 Subject: [PATCH] fixed a warning --- Net/src/HTMLForm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Net/src/HTMLForm.cpp b/Net/src/HTMLForm.cpp index 7b9e4f008..92943092d 100644 --- a/Net/src/HTMLForm.cpp +++ b/Net/src/HTMLForm.cpp @@ -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(partlen)); else costr->setIsValid(false); }