diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-20 22:50:42 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-20 22:50:42 +0000 |
commit | 95dc05bc6d0dfe0f3f3681f5e27afbc3f7a35eea (patch) | |
tree | 6bdbca71df2722da6b3c27c8cc2a0b00115edaa9 /crypto/bio/b_sock.c | |
parent | f36cd05b22a587e552c97797b54fd07bc0762446 (diff) | |
download | openssl-95dc05bc6d0dfe0f3f3681f5e27afbc3f7a35eea.tar.gz |
Fix lots of warnings.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Diffstat (limited to 'crypto/bio/b_sock.c')
-rw-r--r-- | crypto/bio/b_sock.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index d14a7797fd..d3c1345d0b 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -195,7 +195,8 @@ int BIO_get_port(const char *str, unsigned short *port_ptr) int BIO_sock_error(int sock) { - int j,i,size; + int j,i; + unsigned int size; size=sizeof(int); @@ -592,7 +593,7 @@ int BIO_accept(int sock, char **addr) static struct sockaddr_in from; unsigned long l; unsigned short port; - int len; + unsigned int len; char *p; memset((char *)&from,0,sizeof(from)); |