| ... | @@ -10708,7 +10708,7 @@ static IrInstruction *ir_analyze_cast(IrAnalyze *ira, IrInstruction *source_inst | ... | @@ -10708,7 +10708,7 @@ static IrInstruction *ir_analyze_cast(IrAnalyze *ira, IrInstruction *source_inst |
| 10708 | actual_type->data.pointer.child_type->data.array.child_type, source_node, | 10708 | actual_type->data.pointer.child_type->data.array.child_type, source_node, |
| 10709 | !wanted_child_type->data.pointer.is_const).id == ConstCastResultIdOk) | 10709 | !wanted_child_type->data.pointer.is_const).id == ConstCastResultIdOk) |
| 10710 | { | 10710 | { |
| 10711 | IrInstruction *cast1 = ir_resolve_ptr_of_array_to_slice(ira, source_instr, value, wanted_child_type); | 10711 | IrInstruction *cast1 = ir_resolve_ptr_of_array_to_unknown_len_ptr(ira, source_instr, value, wanted_child_type); |
| 10712 | return ir_analyze_maybe_wrap(ira, source_instr, cast1, wanted_type); | 10712 | return ir_analyze_maybe_wrap(ira, source_instr, cast1, wanted_type); |
| 10713 | } | 10713 | } |
| 10714 | } | 10714 | } |