]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/pw_conf.c
Remove useless assignement of linelen
[pw-darwin.git] / pw / pw_conf.c
index c79b60aa3f953ec8972d35b7d33d8bc96364545a..e9606b4e6a2f0563354b0223c4501955b67a73bf 100644 (file)
@@ -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: