summaryrefslogtreecommitdiff
path: root/src/sockutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sockutil.c')
-rw-r--r--src/sockutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sockutil.c b/src/sockutil.c
index 2308dd528..bbf09f42c 100644
--- a/src/sockutil.c
+++ b/src/sockutil.c
@@ -725,7 +725,7 @@ char *ano_sockstrerror(int error)
int ano_socksetnonb(ano_socket_t fd)
{
- int i = 1;
+ u_long i = 1;
return (!ioctlsocket(fd, FIONBIO, &i) ? -1 : 1);
}
#endif