summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-08-02 19:49:24 +0000
committerbapt <bapt@FreeBSD.org>2015-08-02 19:49:24 +0000
commit9a7989cc8d070902390d02dc79e67cfcffe82b4e (patch)
treecfa6f7b4cd19a1b97c502f0f4f94edfd21ea9f6e /usr.sbin/pw
parente969e86e406115c7f24f834db13f89dc07b39fe8 (diff)
downloadFreeBSD-src-9a7989cc8d070902390d02dc79e67cfcffe82b4e.zip
FreeBSD-src-9a7989cc8d070902390d02dc79e67cfcffe82b4e.tar.gz
Use intmax_t rather than long long
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 c79b60a..e9606b4 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:
OpenPOWER on IntegriCloud