aboutsummaryrefslogtreecommitdiff
path: root/src/tilde_const.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-12-13 12:38:01 +0000
committergingerBill <bill@gingerbill.org>2023-12-13 12:38:01 +0000
commitbc99bacb2122f073133ddf6eeb31b4db56a99fa7 (patch)
tree6743c1ff2bd85ed8529569238d366b21840a4882 /src/tilde_const.cpp
parent173527d6319752d1bc56db41ed33ab7904c9e13b (diff)
Update Tilde
Diffstat (limited to 'src/tilde_const.cpp')
-rw-r--r--src/tilde_const.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tilde_const.cpp b/src/tilde_const.cpp
index 691409fe9..456b2cdc7 100644
--- a/src/tilde_const.cpp
+++ b/src/tilde_const.cpp
@@ -705,7 +705,7 @@ gb_internal TB_Global *cg_global_const_comp_literal(cgModule *m, Type *original_
i64 align = type_align_of(original_type);
// READ ONLY?
- TB_ModuleSection *section = nullptr;
+ TB_ModuleSectionHandle section = 0;
if (is_type_string(original_type) || is_type_cstring(original_type)) {
section = tb_module_get_rdata(m->mod);
} else {