Change char to int to avoid compiler warning on platforms which
authordrepper <drepper>
Thu, 5 Mar 1998 08:53:35 +0000 (08:53 +0000)
committerdrepper <drepper>
Thu, 5 Mar 1998 08:53:35 +0000 (08:53 +0000)
default to unsigned chars.

nscd/nscd_getgr_r.c

index 596e31f..61e1726 100644 (file)
@@ -48,7 +48,7 @@ __nscd_getgrgid_r (gid_t gid, struct group *resultbuf, char *buffer,
                   size_t buflen)
 {
   char *p = buffer;
-  char plen;
+  int plen;
 
   plen = snprintf (buffer, buflen, "%d", gid);
   if (plen == -1)