about summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index f0b3beeca9..eef2568863 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -410,7 +410,7 @@ nscd_run (void *p)
 	  if (secure_in_use)
 	    {
 	      struct ucred caller;
-	      int optlen = sizeof (caller);
+	      socklen_t optlen = sizeof (caller);
 
 	      if (getsockopt (fd, SOL_SOCKET, SO_PEERCRED,
 			      &caller, &optlen) < 0)