This commit is contained in:
gingerBill
2026-03-25 14:08:48 +00:00

View File

@@ -3421,7 +3421,7 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
cc.link_section = e->Variable.link_section;
ExactValue v = tav.value;
lbValue init = lb_const_value(m, tav.type, v, cc);
lbValue init = lb_const_value(m, e->type, v, cc);
LLVMDeleteGlobal(g.value);
g.value = nullptr;