(nscd_run): Use correct type for optlen variable.
authordrepper <drepper>
Fri, 25 Jun 1999 08:43:31 +0000 (08:43 +0000)
committerdrepper <drepper>
Fri, 25 Jun 1999 08:43:31 +0000 (08:43 +0000)
nscd/connections.c

index f0b3bee..eef2568 100644 (file)
@@ -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)