diff options
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 087f48e..c79b60a 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, "%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: |