Skip to content

Commit

Permalink
fix cast on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Oct 23, 2024
1 parent 3464277 commit 3457ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2084,7 +2084,7 @@ udx_socket_bind (udx_socket_t *socket, const struct sockaddr *addr, unsigned int
err = uv_fileno((const uv_handle_t *) handle, &fd);
assert(err == 0);

err = uv_poll_init_socket(socket->udx->loop, poll, fd);
err = uv_poll_init_socket(socket->udx->loop, poll, (uv_os_sock_t) fd);
assert(err == 0);

socket->status |= UDX_SOCKET_BOUND;
Expand Down

0 comments on commit 3457ea3

Please sign in to comment.