aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 60a459f822..2e7cc937b4 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -6366,7 +6366,7 @@ static void define_builtin_compile_vars(CodeGen *g) {
"};\n"
"\n"
"pub const ArrayInfo = struct {\n"
- " len: u64,\n"
+ " len: usize,\n"
" child: &TypeInfo,\n"
"};\n"
"\n"