forked from boostorg/beast
Tidy up some integer conversion warnings
This commit is contained in:
1 parent
9be141a1e0
commit
30e6426db5
4 files changed
+5
-3
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user