diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-10-17 14:06:20 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-10-17 14:06:20 +0000 |
| commit | fa63310f9917aece0bfe7b35a188a25bed954be0 (patch) | |
| tree | 7f99eea6ad766e905a13359ec28786baf6fcffbe | |
| parent | 71e15550a32a217d57c405de46cc872240245661 (diff) | |
Notes
| -rw-r--r-- | usr.bin/chpass/pw_copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/pw_copy.c b/usr.bin/chpass/pw_copy.c index 73e2da22115c..d60f75177492 100644 --- a/usr.bin/chpass/pw_copy.c +++ b/usr.bin/chpass/pw_copy.c @@ -66,8 +66,8 @@ pw_copy(ffd, tfd, pw) snprintf(uidstr, sizeof(uidstr), "%d", pw->pw_uid); snprintf(gidstr, sizeof(gidstr), "%d", pw->pw_gid); - snprintf(chgstr, sizeof(chgstr), "%ld", pw->pw_change); - snprintf(expstr, sizeof(expstr), "%ld", pw->pw_expire); + snprintf(chgstr, sizeof(chgstr), "%ld", (long)pw->pw_change); + snprintf(expstr, sizeof(expstr), "%ld", (long)pw->pw_expire); if (!(from = fdopen(ffd, "r"))) pw_error(_PATH_MASTERPASSWD, 1, 1); |
