Fix #2544
This commit is contained in:
1 parent
49cd9648b0
commit
f2e590be7a
1 file changed
+1
@@ -3783,6 +3783,7 @@ gb_internal lbAddr lb_build_addr_index_expr(lbProcedure *p, Ast *expr) {
|
||||
multi_ptr = lb_emit_load(p, multi_ptr);
|
||||
}
|
||||
lbValue index = lb_build_expr(p, ie->index);
|
||||
index = lb_emit_conv(p, index, t_int);
|
||||
lbValue v = {};
|
||||
|
||||
LLVMValueRef indices[1] = {index.value};
|
||||
|
||||
Reference in new issue
Block a user