| ... | ... | @@ -3462,7 +3462,7 @@ static Error resolve_opaque_type(CodeGen *g, ZigType *opaque_type) { |
| 3462 | 3462 | if (container_node != nullptr) { |
| 3463 | 3463 | assert(container_node->type == NodeTypeContainerDecl); |
| 3464 | 3464 | AstNodeContainerDecl *container_decl = &container_node->data.container_decl; |
| 3465 | | for (int i = 0; i < container_decl->fields.length; i++) { |
| 3465 | for (size_t i = 0; i < container_decl->fields.length; i++) { |
| 3466 | 3466 | AstNode *field_node = container_decl->fields.items[i]; |
| 3467 | 3467 | add_node_error(g, field_node, buf_create_from_str("opaque types cannot have fields")); |
| 3468 | 3468 | err = ErrorSemanticAnalyzeFail; |