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

nscd/nscd_getpw_r.c

index 4fc78e1..1a33113 100644 (file)
@@ -48,7 +48,7 @@ __nscd_getpwuid_r (uid_t uid, struct passwd *resultbuf, char *buffer,
                   size_t buflen)
 {
   char *p = buffer;
-  char plen;
+  int plen;
 
   plen = snprintf (buffer, buflen, "%d", uid);
   if (plen == -1)