about summary refs log tree commit diff
path: root/nscd/connections.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/connections.c')
-rw-r--r--nscd/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index d40d987323..f0b3beeca9 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -324,7 +324,7 @@ cannot handle old request version %d; current version is %d"),
       else
 	{
 	  struct ucred caller;
-	  int optlen = sizeof (caller);
+	  socklen_t optlen = sizeof (caller);
 
 	  if (getsockopt (fd, SOL_SOCKET, SO_PEERCRED, &caller, &optlen) < 0)
 	    {