aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2025-11-04 21:49:22 +0100
committerLaytan Laats <laytanlaats@hotmail.com>2025-11-04 21:49:22 +0100
commit3ef063632498a59bd6df3de5d34e92bf6b6102d8 (patch)
tree70b4cb5f389b937dd0be2284c2fb09a2afb7a4b7 /src
parentc4d1cd6ee5b903f7ef8c2d9adbded1144b428b86 (diff)
unsigned
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 abaf3716e..474999191 100644
--- a/src/llvm_backend_type.cpp
+++ b/src/llvm_backend_type.cpp
@@ -356,7 +356,7 @@ gb_internal void lb_setup_type_info_data_giant_array(lbModule *m, i64 global_typ
small_const_values[2] = type_info_flags.value;
small_const_values[3] = LLVMConstNull(LLVMStructGetTypeAtIndex(stype, 3));
small_const_values[4] = id.value;
- isize variant_index = 5;
+ unsigned variant_index = 5;
LLVMTypeRef full_variant_type = LLVMStructGetTypeAtIndex(stype, variant_index);
unsigned full_variant_elem_count = LLVMCountStructElementTypes(full_variant_type);