aboutsummaryrefslogtreecommitdiff
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 f0b3bee..eef2568 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)