projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Resolve warnings in VC-WIN32 build, which allows to add /WX.
[openssl.git]
/
crypto
/
bio
/
b_addr.c
diff --git
a/crypto/bio/b_addr.c
b/crypto/bio/b_addr.c
index 47e4fc20fb93ceb105a787439031322e7b084c1e..d6d70a1ae9d94eafef8dc797601a7c32d77f2f57 100644
(file)
--- a/
crypto/bio/b_addr.c
+++ b/
crypto/bio/b_addr.c
@@
-821,7
+821,7
@@
int BIO_lookup_ex(const char *host, const char *service, int lookup_type,
if (endp != service && *endp == '\0'
&& portnum > 0 && portnum < 65536) {
- se_fallback.s_port = htons(portnum);
+ se_fallback.s_port = htons(
(unsigned short)
portnum);
se_fallback.s_proto = proto;
se = &se_fallback;
} else if (endp == service) {