summaryrefslogtreecommitdiff
path: root/libpwdgrp/pwd_grp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpwdgrp/pwd_grp.c')
-rw-r--r--libpwdgrp/pwd_grp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c
index 7a8a237..d59fd50 100644
--- a/libpwdgrp/pwd_grp.c
+++ b/libpwdgrp/pwd_grp.c
@@ -679,7 +679,7 @@ int putspent(const struct spwd *p, FILE *stream)
{
static const char ld_format[] = "%ld:";
const char *f;
- long int x;
+ long x;
int i;
int rv = -1;
@@ -692,7 +692,7 @@ int putspent(const struct spwd *p, FILE *stream)
for (i=0 ; i < sizeof(_sp_off) ; i++) {
f = ld_format;
- x = *(const long int *)(((const char *) p) + _sp_off[i]);
+ x = *(const long *)(((const char *) p) + _sp_off[i]);
if (x == -1) {
f += 3;
}