eidheim / Simple-Web-Server

A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
MIT License
2.61k stars 751 forks source link

fixed type conversion warning in Visual Studio #198

Open zethon opened 6 years ago

zethon commented 6 years ago

content_length (unsigned long long) is bigger than num_additional_bytes (size_t) on Windows, so the compiler warns. Added a cast to make the compiler happy.