diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-17 12:22:13 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-17 12:22:13 +0000 |
commit | 7bf7333d688264f6d389c1c3c87c127f484b2efa (patch) | |
tree | d777c6c566351367c8e0996fc7e162e18541f67a /apps/s_server.c | |
parent | c20276e4aef1e716980589c43cf9276abc7ff2b7 (diff) |
If we include winsock2.h then FD_SET wants an unsigned type for an fd.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r-- | apps/s_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 69a2f6caf4..a294ed343d 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1621,9 +1621,9 @@ static int sv_body(char *hostname, int s, unsigned char *context) { FD_ZERO(&readfds); #if !defined(OPENSSL_SYS_WINDOWS) && !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_NETWARE) && !defined(OPENSSL_SYS_BEOS_R5) - FD_SET(fileno(stdin),&readfds); + openssl_fdset(fileno(stdin),&readfds); #endif - FD_SET(s,&readfds); + openssl_fdset(s,&readfds); /* Note: under VMS with SOCKETSHR the second parameter is * currently of type (int *) whereas under other systems * it is (void *) if you don't have a cast it will choke |