aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-16 03:22:41 +0000
committerRoland McGrath <roland@gnu.org>2003-03-16 03:22:41 +0000
commiteb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c (patch)
tree7661571a7ea2348d5be1e7aaceb087091fe3903a /nscd
parent385cce415c0060f315b1cbd9260416f54e5853cf (diff)
downloadglibc-eb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c.zip
glibc-eb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c.tar.gz
glibc-eb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c.tar.bz2
* posix/fnmatch_loop.c: Add casts for signedness.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN. * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/nscd_getgr_r.c2
-rw-r--r--nscd/nscd_getpw_r.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nscd/nscd_getgr_r.c b/nscd/nscd_getgr_r.c
index 2d09ed9..1769ff1 100644
--- a/nscd/nscd_getgr_r.c
+++ b/nscd/nscd_getgr_r.c
@@ -143,7 +143,7 @@ nscd_getgr_r (const char *key, size_t keylen, request_type type,
char *p = buffer;
size_t total_len;
uintptr_t align;
- size_t cnt;
+ nscd_ssize_t cnt;
/* Now allocate the buffer the array for the group members. We must
align the pointer. */
diff --git a/nscd/nscd_getpw_r.c b/nscd/nscd_getpw_r.c
index 160e9ff..7e7ed61 100644
--- a/nscd/nscd_getpw_r.c
+++ b/nscd/nscd_getpw_r.c
@@ -173,7 +173,7 @@ nscd_getpw_r (const char *key, size_t keylen, request_type type,
__close (sock);
- return nbytes == total ? 0 : -1;
+ return nbytes == (ssize_t) total ? 0 : -1;
}
else
{