summaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_sock.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-01-12 17:29:26 -0500
committerRich Salz <rsalz@openssl.org>2015-01-12 17:30:54 -0500
commit6d23cf97443bfedf755341b4f2d0d7fce254e020 (patch)
treeef52ffc0029a579d35439f2dc0ba2deee966ed93 /crypto/bio/b_sock.c
parent31d1d3741f16bd80ec25f72dcdbf6bbdc5664374 (diff)
RT3548: Remove unsupported platforms
This last one for this ticket. Removes WIN16. So long, MS_CALLBACK and MS_FAR. We won't miss you. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio/b_sock.c')
-rw-r--r--crypto/bio/b_sock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c
index f13d2ac4b9..f7e95ee5c5 100644
--- a/crypto/bio/b_sock.c
+++ b/crypto/bio/b_sock.c
@@ -150,8 +150,7 @@ int BIO_get_host_ip(const char *str, unsigned char *ip)
goto err;
}
- /* cast to short because of win16 winsock definition */
- if ((short)he->h_addrtype != AF_INET)
+ if (he->h_addrtype != AF_INET)
{
BIOerr(BIO_F_BIO_GET_HOST_IP,BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET);
goto err;