Work with -pedantic!
[openssl.git] / apps / s_socket.c
index 9c08ec0985c82f9433f262b4e2a72251144a4144..2c83dbb6072cfd5ff2dee1a60179666562a4e9c8 100644 (file)
@@ -209,7 +209,7 @@ int init_client_ip(int *sock, unsigned char ip[4], int port)
 int nbio_sock_error(int sock)
        {
        int j,i;
-       unsigned int size;
+       int size;
 
        size=sizeof(int);
        i=getsockopt(sock,SOL_SOCKET,SO_ERROR,(char *)&j,&size);
@@ -360,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;
-       unsigned int len;
+       int len;
 /*     struct linger ling; */
 
        if (!sock_init()) return(0);