Fix build on 32bits
This commit is contained in:
parent
8159e0373f
commit
fc5079452d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286204
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user