diff --git a/src/os/unix/ngx_socket.c b/src/os/unix/ngx_socket.c index c2fbc3bed..27ae48dc5 100644 --- a/src/os/unix/ngx_socket.c +++ b/src/os/unix/ngx_socket.c @@ -25,7 +25,7 @@ int ngx_nonblocking(ngx_socket_t s) { - u_long nb; + int nb; nb = 1; @@ -36,7 +36,7 @@ ngx_nonblocking(ngx_socket_t s) int ngx_blocking(ngx_socket_t s) { - u_long nb; + int nb; nb = 0;