Skip to content

Commit 3457ea3

Browse files
committed
fix cast on windows
1 parent 3464277 commit 3457ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/udx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ udx_socket_bind (udx_socket_t *socket, const struct sockaddr *addr, unsigned int
20842084
err = uv_fileno((const uv_handle_t *) handle, &fd);
20852085
assert(err == 0);
20862086

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

20902090
socket->status |= UDX_SOCKET_BOUND;

0 commit comments

Comments
 (0)