summary refs log tree commit diff
path: root/nscd/nscd_getpw_r.c
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/nscd_getpw_r.c
parent385cce415c0060f315b1cbd9260416f54e5853cf (diff)
downloadglibc-eb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c.tar.gz
glibc-eb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c.tar.xz
glibc-eb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c.zip
* 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/nscd_getpw_r.c')
-rw-r--r--nscd/nscd_getpw_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd_getpw_r.c b/nscd/nscd_getpw_r.c
index 160e9ffa27..7e7ed619c8 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
     {