mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
b_sock.c: fix compiler warning.
This commit is contained in:
parent
6f766a4181
commit
2335e8a9cc
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user