aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compile.c b/src/compile.c
index 3f6cb713..f1c3aa07 100644
--- a/src/compile.c
+++ b/src/compile.c
@@ -881,8 +881,7 @@ CORD compile_lvalue(env_t *env, ast_t *ast)
: CORD_all("(Int64_t)(", compile(env, index->index), ")"));
if (index->unchecked) {
return CORD_all("List_lvalue_unchecked(", compile_type(item_type), ", ", target_code, ", ",
- index_code,
- ", sizeof(", compile_type(item_type), "))");
+ index_code, ")");
} else {
return CORD_all("List_lvalue(", compile_type(item_type), ", ", target_code, ", ",
index_code,