stage1: fix compile error on macOS Xcode 11.1

This commit is contained in:
Michael Dusan 2019-10-03 23:47:10 -04:00 committed by Andrew Kelley
parent 071af5c1d6
commit 81c6bd37aa

View File

@ -44,7 +44,7 @@ static void jw_nl_indent(JsonWriter *jw) {
assert(jw->state_index >= 1);
fprintf(jw->f, "%s", jw->nl);
for (size_t i = 0; i < jw->state_index - 1; i += 1) {
fprintf(jw->f, jw->one_indent);
fprintf(jw->f, "%s", jw->one_indent);
}
}