Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Nov 26, 2023
1 parent bd1b877 commit 681b87f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/include/proxy/proxy_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ R"x*x*x(<html>

fvalue = cvalue;

recv_length = co_await net::async_read(
recv_length = (int)co_await net::async_read(
socket,
net::buffer(bufs, recv_length),
net_awaitable[error]);
Expand Down Expand Up @@ -2459,7 +2459,7 @@ R"x*x*x(<html>

fvalue = cvalue;

recv_length = co_await net::async_read(
recv_length = (int)co_await net::async_read(
socket,
net::buffer(bufs, recv_length),
net_awaitable[error]);
Expand Down

0 comments on commit 681b87f

Please sign in to comment.