diff --git a/Net/src/FilePartSource.cpp b/Net/src/FilePartSource.cpp index fa03c0517..afd3a01db 100644 --- a/Net/src/FilePartSource.cpp +++ b/Net/src/FilePartSource.cpp @@ -80,7 +80,7 @@ const std::string& FilePartSource::filename() const std::streamsize FilePartSource::getContentLength() const { Poco::File p(_path); - return p.getSize(); + return static_cast(p.getSize()); }