diff --git a/Server/Http/Reply.cpp b/Server/Http/Reply.cpp index 1f778cd84..0a3885710 100644 --- a/Server/Http/Reply.cpp +++ b/Server/Http/Reply.cpp @@ -90,7 +90,7 @@ Reply Reply::StockReply(Reply::status_type status) const std::string status_string = reply.ToString(status); reply.content.insert(reply.content.end(), status_string.begin(), status_string.end()); reply.headers.emplace_back("Access-Control-Allow-Origin", "*"); - reply.headers.emplace_back("Content-Length", UintToString(reply.content.size())); + reply.headers.emplace_back("Content-Length", UintToString(static_cast(reply.content.size()))); reply.headers.emplace_back("Content-Type", "text/html"); return reply; }