Skip to content

Commit

Permalink
Update win_tcpconn.c
Browse files Browse the repository at this point in the history
fix compile error in nano using clang version 16.0.5

fix issue: nanomsg/nng#1676
  • Loading branch information
NissimBendanan authored and JaylinYu committed Oct 16, 2023
1 parent 802c6b8 commit dae0e77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/windows/win_tcpconn.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ tcp_recv_cancel(nni_aio *aio, void *arg, int rv)
}

static void
tcp_recv(nni_tcp_conn *c, nni_aio *aio)
tcp_recv(void *arg, nni_aio *aio)
{
nni_tcp_conn *c = arg;
int rv;

if (nni_aio_begin(aio) != 0) {
Expand Down

0 comments on commit dae0e77

Please sign in to comment.