mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Use intmax_t rather than long long
This commit is contained in:
parent
9e24273cca
commit
5cc12db1c7
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue