diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-02 13:50:11 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-02 13:50:11 +0000 |
commit | fc5079452d00bfa4932b7744221fd74a56cc5884 (patch) | |
tree | 8359c35620930d8497df44628a95872420c29858 /usr.sbin/pw | |
parent | 8159e0373f3875960feaa3a6a56085fb92e6b033 (diff) | |
download | src-fc5079452d00bfa4932b7744221fd74a56cc5884.tar.gz src-fc5079452d00bfa4932b7744221fd74a56cc5884.zip |
Fix build on 32bits
Notes
Notes:
svn path=/head/; revision=286204
Diffstat (limited to 'usr.sbin/pw')
-rw-r--r-- | usr.sbin/pw/pw_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pw/pw_conf.c b/usr.sbin/pw/pw_conf.c index 087f48e3fdf7..c79b60aa3f95 100644 --- a/usr.sbin/pw/pw_conf.c +++ b/usr.sbin/pw/pw_conf.c @@ -493,11 +493,11 @@ write_userconfig(struct userconf *cnf, const char *file) quote = 0; break; case _UC_EXPIRE: - sbuf_printf(buf, "%ld", cnf->expire_days); + sbuf_printf(buf, "%lld", (long long)cnf->expire_days); quote = 0; break; case _UC_PASSWORD: - sbuf_printf(buf, "%ld", cnf->password_days); + sbuf_printf(buf, "%lld", (long long)cnf->password_days); quote = 0; break; case _UC_NONE: |