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 /apps/s_socket.c | |
parent | f36cd05b22a587e552c97797b54fd07bc0762446 (diff) | |
download | openssl-95dc05bc6d0dfe0f3f3681f5e27afbc3f7a35eea.tar.gz |
Fix lots of warnings.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Diffstat (limited to 'apps/s_socket.c')
-rw-r--r-- | apps/s_socket.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c index 19b9abbba6..9c08ec0985 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -208,7 +208,8 @@ int init_client_ip(int *sock, unsigned char ip[4], int port) int nbio_sock_error(int sock) { - int j,i,size; + int j,i; + unsigned int size; size=sizeof(int); i=getsockopt(sock,SOL_SOCKET,SO_ERROR,(char *)&j,&size); @@ -359,7 +360,7 @@ int do_accept(int acc_sock, int *sock, char **host) int ret,i; struct hostent *h1,*h2; static struct sockaddr_in from; - int len; + unsigned int len; /* struct linger ling; */ if (!sock_init()) return(0); |