Fix signedness compiler warnings.
[oweals/tinc.git] / src / net_socket.c
index fb776f89fc649edd94bd73dceecdbd64b34152b5..fcd5fecb3ee2e8b39ecfaa4f5159e5965adc0ca8 100644 (file)
@@ -391,7 +391,8 @@ bool handle_new_meta_connection(int sock)
        int option;
        connection_t *c;
        sockaddr_t sa;
-       int fd, len = sizeof(sa);
+       int fd;
+       socklen_t len = sizeof(sa);
 
        cp();