| ... | @@ -6188,7 +6188,7 @@ static void gen_h_file(CodeGen *g) { | ... | @@ -6188,7 +6188,7 @@ static void gen_h_file(CodeGen *g) { |
| 6188 | get_c_type(g, gen_h, struct_field->type_entry, type_name_buf); | 6188 | get_c_type(g, gen_h, struct_field->type_entry, type_name_buf); |
| 6189 | | 6189 | |
| 6190 | if (struct_field->type_entry->id == TypeTableEntryIdArray) { | 6190 | if (struct_field->type_entry->id == TypeTableEntryIdArray) { |
| 6191 | fprintf(out_h, " %s %s[%d];\n", buf_ptr(type_name_buf), | 6191 | fprintf(out_h, " %s %s[%" ZIG_PRI_u64 "];\n", buf_ptr(type_name_buf), |
| 6192 | buf_ptr(struct_field->name), | 6192 | buf_ptr(struct_field->name), |
| 6193 | struct_field->type_entry->data.array.len); | 6193 | struct_field->type_entry->data.array.len); |
| 6194 | } else { | 6194 | } else { |