Skip to content
Snippets Groups Projects
Commit 40d9855d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Andrés García fixed a warning in the ioctlsocket() usage.

parent ecf7adba
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ dnl the code was bad, try a different program now, test 3
],[
/* ioctlsocket source code */
int socket;
int flags = ioctlsocket(socket, FIONBIO, &flags);
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
],[
dnl ioctlsocket test was good
nonblock="ioctlsocket"
......
......@@ -147,7 +147,7 @@ int Curl_nonblock(curl_socket_t sockfd, /* operate on this */
#ifdef HAVE_IOCTLSOCKET
/* Windows? */
int flags;
unsigned long flags;
flags = nonblock;
return ioctlsocket(sockfd, FIONBIO, &flags);
#define SETBLOCK 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment