| ... | ... | @@ -1308,7 +1308,7 @@ static TypeTableEntry *analyze_enum_value_expr(CodeGen *g, ImportTableEntry *imp |
| 1308 | 1308 | |
| 1309 | 1309 | static TypeStructField *find_struct_type_field(TypeTableEntry *type_entry, Buf *name, int *index) { |
| 1310 | 1310 | assert(type_entry->id == TypeTableEntryIdStruct); |
| 1311 | | for (int i = 0; i < type_entry->data.structure.field_count; i += 1) { |
| 1311 | for (uint32_t i = 0; i < type_entry->data.structure.field_count; i += 1) { |
| 1312 | 1312 | TypeStructField *field = &type_entry->data.structure.fields[i]; |
| 1313 | 1313 | if (buf_eql_buf(field->name, name)) { |
| 1314 | 1314 | *index = i; |
| ... | ... | @@ -2839,6 +2839,7 @@ static TypeTableEntry *analyze_prefix_op_expr(CodeGen *g, ImportTableEntry *impo |
| 2839 | 2839 | } |
| 2840 | 2840 | } |
| 2841 | 2841 | } |
| 2842 | zig_unreachable(); |
| 2842 | 2843 | } |
| 2843 | 2844 | |
| 2844 | 2845 | static TypeTableEntry * analyze_expression(CodeGen *g, ImportTableEntry *import, BlockContext *context, |