diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-06 15:57:29 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-06 15:57:29 +0000 |
commit | c16c461a7d6427bb384a68f7193a2e998701f8a5 (patch) | |
tree | e5bbb1b49ca19418cbe1f3adb6c24c7fdf440057 | |
parent | 85a458e6f439dc5d87bd555550f9403b11c55585 (diff) | |
download | libapr-c16c461a7d6427bb384a68f7193a2e998701f8a5.tar.gz |
Fixed the data types of the local variables used in the calls to ioctlsocket() to
conform to the prototypes in order to clean up a type mismatch problem
during compilation.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62105 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | network_io/win32/sockopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network_io/win32/sockopt.c b/network_io/win32/sockopt.c index 1534e584b..40fab71a9 100644 --- a/network_io/win32/sockopt.c +++ b/network_io/win32/sockopt.c @@ -60,7 +60,7 @@ apr_status_t soblock(SOCKET sd) { - int zero = 0; + u_long zero = 0; if (ioctlsocket(sd, FIONBIO, &zero) == SOCKET_ERROR) { return apr_get_netos_error(); @@ -70,7 +70,7 @@ apr_status_t soblock(SOCKET sd) apr_status_t sononblock(SOCKET sd) { - int one = 1; + u_long one = 1; if (ioctlsocket(sd, FIONBIO, &one) == SOCKET_ERROR) { return apr_get_netos_error(); |