projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT3548: Remove unsupported platforms
[oweals/openssl.git]
/
crypto
/
bio
/
b_sock.c
diff --git
a/crypto/bio/b_sock.c
b/crypto/bio/b_sock.c
index f13d2ac4b9346b4df4f68068e7457bfbc8cfdc1a..f7e95ee5c525e557dc77e090734cfff25f0c6d85 100644
(file)
--- 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;