diff options
author | appro <appro> | 2009-11-15 16:52:11 +0000 |
---|---|---|
committer | appro <appro> | 2009-11-15 16:52:11 +0000 |
commit | bbde7a727d062a22d50769bdea2f62465fac2a0e (patch) | |
tree | 514d6b47927c4e7678a78cbdcc747720d1afd9ed /crypto/bio | |
parent | d2660ad2d524c9b47d1f0d942f60f28f803ced62 (diff) | |
download | openssl-bbde7a727d062a22d50769bdea2f62465fac2a0e.tar.gz |
b_sock.c: fix compiler warning.
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_sock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index 5dc6cf459..886786cf6 100644 --- 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) { |