aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-14 21:39:33 +0100
committergingerBill <bill@gingerbill.org>2024-07-14 21:39:33 +0100
commit251fa477afc8da08ad353935deab24fc32ec18b6 (patch)
treec002cd560f41e4ae1b383676c4ce82b0214759d0 /src
parent15a065598849e5e64add79e54010aa24b5f33d82 (diff)
Fix type
Diffstat (limited to 'src')
-rw-r--r--src/llvm_backend_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_type.cpp b/src/llvm_backend_type.cpp
index 6565717a7..638170bfc 100644
--- a/src/llvm_backend_type.cpp
+++ b/src/llvm_backend_type.cpp
@@ -830,7 +830,7 @@ gb_internal void lb_setup_type_info_data_giant_array(lbModule *m, i64 global_typ
lbValue soa_kind = lb_const_value(m, kind_type, exact_value_i64(t->Struct.soa_kind));
LLVMValueRef soa_type = get_type_info_ptr(m, t->Struct.soa_elem);
- lbValue soa_len = lb_const_int(m, t_u16, t->Struct.soa_count);
+ lbValue soa_len = lb_const_int(m, t_i32, t->Struct.soa_count);
vals[7] = soa_kind.value;
vals[8] = soa_len.value;