This commit is contained in:
Franz
2026-03-13 14:21:18 +01:00
parent 1cc9c1f723
commit ee3d0ea0b5

View File

@@ -3406,7 +3406,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;