aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pw
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 19:49:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 19:49:24 +0000
commit5cc12db1c76615e73b435ae6c27d60db045e49cf (patch)
treecfa6f7b4cd19a1b97c502f0f4f94edfd21ea9f6e /usr.sbin/pw
parent9e24273cca4d0909e6e6e58354aa25840a26123f (diff)
downloadsrc-5cc12db1c76615e73b435ae6c27d60db045e49cf.tar.gz
src-5cc12db1c76615e73b435ae6c27d60db045e49cf.zip
Use intmax_t rather than long long
Notes
Notes: svn path=/head/; revision=286211
Diffstat (limited to 'usr.sbin/pw')
-rw-r--r--usr.sbin/pw/pw_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pw/pw_conf.c b/usr.sbin/pw/pw_conf.c
index c79b60aa3f95..e9606b4e6a2f 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, "%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: