svn commit: r286211 - head/usr.sbin/pw
Baptiste Daroussin
bapt at FreeBSD.org
Sun Aug 2 19:49:25 UTC 2015
Author: bapt
Date: Sun Aug 2 19:49:24 2015
New Revision: 286211
URL: https://svnweb.freebsd.org/changeset/base/286211
Log:
Use intmax_t rather than long long
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 18:20:36 2015 (r286210)
+++ head/usr.sbin/pw/pw_conf.c Sun Aug 2 19:49:24 2015 (r286211)
@@ -493,11 +493,11 @@ write_userconfig(struct userconf *cnf, c
quote = 0;
break;
case _UC_EXPIRE:
- sbuf_printf(buf, "%lld", (long long)cnf->expire_days);
+ sbuf_printf(buf, "%jd", (intmax_t)cnf->expire_days);
quote = 0;
break;
case _UC_PASSWORD:
- sbuf_printf(buf, "%lld", (long long)cnf->password_days);
+ sbuf_printf(buf, "%jd", (intmax_t)cnf->password_days);
quote = 0;
break;
case _UC_NONE:
More information about the svn-src-all
mailing list