diff options
Diffstat (limited to 'libpwdgrp')
-rw-r--r-- | libpwdgrp/pwd_grp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 7a8a23745..d59fd50bf 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c | |||
@@ -679,7 +679,7 @@ int putspent(const struct spwd *p, FILE *stream) | |||
679 | { | 679 | { |
680 | static const char ld_format[] = "%ld:"; | 680 | static const char ld_format[] = "%ld:"; |
681 | const char *f; | 681 | const char *f; |
682 | long int x; | 682 | long x; |
683 | int i; | 683 | int i; |
684 | int rv = -1; | 684 | int rv = -1; |
685 | 685 | ||
@@ -692,7 +692,7 @@ int putspent(const struct spwd *p, FILE *stream) | |||
692 | 692 | ||
693 | for (i=0 ; i < sizeof(_sp_off) ; i++) { | 693 | for (i=0 ; i < sizeof(_sp_off) ; i++) { |
694 | f = ld_format; | 694 | f = ld_format; |
695 | x = *(const long int *)(((const char *) p) + _sp_off[i]); | 695 | x = *(const long *)(((const char *) p) + _sp_off[i]); |
696 | if (x == -1) { | 696 | if (x == -1) { |
697 | f += 3; | 697 | f += 3; |
698 | } | 698 | } |