diff --git a/Server/Http/Reply.cpp b/Server/Http/Reply.cpp index e13627495..1f778cd84 100644 --- a/Server/Http/Reply.cpp +++ b/Server/Http/Reply.cpp @@ -46,9 +46,7 @@ void Reply::SetSize(const unsigned size) // Sets the size of the uncompressed output. void Reply::SetUncompressedSize() { - unsigned uncompressed_size = 0; - uncompressed_size = content.size(); - SetSize(uncompressed_size); + SetSize(static_cast(content.size())); } std::vector Reply::ToBuffers()