commit | e473b032b860444b9656cee1654b0120f77b52b1 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Sun Sep 26 16:08:11 2004 +0000 |
committer | hasso <hasso> | Sun Sep 26 16:08:11 2004 +0000 |
tree | 8885e2b15c70fb231e775dead3cc30bea18311ce | |
parent | c83dcd3f81ed21c72ad50e56a6c515c7eacac44c [diff] [blame] |
Compiler warnings fixes.
diff --git a/lib/vty.c b/lib/vty.c index b1c96f3..fdd5bbd 100644 --- a/lib/vty.c +++ b/lib/vty.c
@@ -1942,7 +1942,8 @@ memset (&client, 0, sizeof (struct sockaddr_un)); client_len = sizeof (struct sockaddr_un); - sock = accept (accept_sock, (struct sockaddr *) &client, &client_len); + sock = accept (accept_sock, (struct sockaddr *) &client, + (socklen_t *) &client_len); if (sock < 0) {