svn commit: r286204 - head/usr.sbin/pw
Baptiste Daroussin
bapt at FreeBSD.org
Sun Aug 2 13:50:12 UTC 2015
Author: bapt
Date: Sun Aug 2 13:50:11 2015
New Revision: 286204
URL: https://svnweb.freebsd.org/changeset/base/286204
Log:
Fix build on 32bits
Modified:
head/usr.sbin/pw/pw_conf.c
Modified: head/usr.sbin/pw/pw_conf.c
==============================================================================
--- head/usr.sbin/pw/pw_conf.c Sun Aug 2 13:33:17 2015 (r286203)
+++ head/usr.sbin/pw/pw_conf.c Sun Aug 2 13:50:11 2015 (r286204)
@@ -493,11 +493,11 @@ write_userconfig(struct userconf *cnf, c
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:
More information about the svn-src-all
mailing list