projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f766a4
)
b_sock.c: fix compiler warning.
author
Andy Polyakov
<appro@openssl.org>
Sun, 15 Nov 2009 16:52:11 +0000
(16:52 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 15 Nov 2009 16:52:11 +0000
(16:52 +0000)
crypto/bio/b_sock.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_sock.c
b/crypto/bio/b_sock.c
index 5dc6cf4595a6719c46008a15bb1499841907ab0e..886786cf6464f2b39809c319f461888420de25fd 100644
(file)
--- a/
crypto/bio/b_sock.c
+++ b/
crypto/bio/b_sock.c
@@
-822,7
+822,8
@@
int BIO_accept(int sock, char **addr)
if (sizeof(sa.len.i)!=sizeof(sa.len.s) && sa.len.i==0)
{
OPENSSL_assert(sa.len.s<=sizeof(sa.from));
- sa.len.i = (unsigned int)sa.len.s;
+ sa.len.i = (int)sa.len.s;
+ /* use sa.len.i from this point */
}
if (ret == INVALID_SOCKET)
{