diff options
author | hasso <hasso> | 2004-09-26 16:08:11 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-26 16:08:11 +0000 |
commit | e473b032b860444b9656cee1654b0120f77b52b1 (patch) | |
tree | 8885e2b15c70fb231e775dead3cc30bea18311ce /lib/vty.c | |
parent | c83dcd3f81ed21c72ad50e56a6c515c7eacac44c (diff) |
Compiler warnings fixes.
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1942,7 +1942,8 @@ vtysh_accept (struct thread *thread) 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) { |