diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-02 19:49:24 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-02 19:49:24 +0000 |
commit | 0e5a5a90fcad565db8dcf6f21d5e0ee0de111663 (patch) | |
tree | e9a1c4a2bfe0939c2a0342a79bb6954f6ee65ab4 /pw | |
parent | b1b00058669f8b922b52845bb7f0175de6df27c3 (diff) | |
download | pw-darwin-0e5a5a90fcad565db8dcf6f21d5e0ee0de111663.tar.gz pw-darwin-0e5a5a90fcad565db8dcf6f21d5e0ee0de111663.tar.zst pw-darwin-0e5a5a90fcad565db8dcf6f21d5e0ee0de111663.zip |
Use intmax_t rather than long long
Diffstat (limited to 'pw')
-rw-r--r-- | pw/pw_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pw/pw_conf.c b/pw/pw_conf.c index c79b60a..e9606b4 100644 --- a/pw/pw_conf.c +++ b/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: |