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: _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"