summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/pwd_grp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-10 03:51:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-10 03:51:24 +0000
commit5a0c58adc73d0a7553404221da3a717654309944 (patch)
tree810cce8902c4c6786eecc04c1ae3bffc65033620 /libc/pwd_grp/pwd_grp.c
parent91175c58780303d568b9c33f4bf0b9a8bd6b53b6 (diff)
fix some warnings
Diffstat (limited to 'libc/pwd_grp/pwd_grp.c')
-rw-r--r--libc/pwd_grp/pwd_grp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/pwd_grp/pwd_grp.c b/libc/pwd_grp/pwd_grp.c
index c1374740d..82c99360a 100644
--- a/libc/pwd_grp/pwd_grp.c
+++ b/libc/pwd_grp/pwd_grp.c
@@ -844,7 +844,7 @@ int putspent(const struct spwd *p, FILE *stream)
static const char ld_format[] = "%ld:";
const char *f;
long int x;
- int i;
+ size_t i;
int rv = -1;
__STDIO_AUTO_THREADLOCK_VAR;
@@ -1126,7 +1126,7 @@ int attribute_hidden __parsespent(void *data, char * line)
int attribute_hidden __pgsreader(int (*__parserfunc)(void *d, char *line), void *data,
char *__restrict line_buff, size_t buflen, FILE *f)
{
- int line_len;
+ size_t line_len;
int skip;
int rv = ERANGE;
__STDIO_AUTO_THREADLOCK_VAR;