Tidy up some integer conversion warnings

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:27 -07:00
1 parent 9be141a1e0
commit 30e6426db5
4 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ public:
inline
size_type
throughput(std::chrono::duration<
double> const& elapsed, std::size_t items)
double> const& elapsed, size_type items)
{
using namespace std::chrono;
return static_cast<size_type>(
@@ -209,7 +209,7 @@ private:
void
fail(std::string what, error_code ec,
int id, endpoint_type const& ep)
std::size_t id, endpoint_type const& ep)
{
if(log_)
if(ec != beast::websocket::error::closed)