From 1709e27af74b494c7316a8dc7678e764429b6dbb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Jun 1999 23:15:52 +0000 Subject: [PATCH] Update. * nscd/connections.c (handle_request): Use correct type for optlen variable. --- ChangeLog | 3 +++ nscd/connections.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 529f2dad2d..1c911119ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-06-24 Ulrich Drepper + * nscd/connections.c (handle_request): Use correct type for optlen + variable. + * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16. * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r. 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) {