diff options
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index f57b7095a..ea9936235 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -3632,7 +3632,7 @@ break; isize variable_count = type->Struct.fields.count; array_init(&tuple->Tuple.variables, a, variable_count); // TODO(bill): Should I copy each of the entities or is this good enough? - gb_memcopy_array(tuple->Tuple.variables.data, type->Struct.fields.data, variable_count); + gb_memmove_array(tuple->Tuple.variables.data, type->Struct.fields.data, variable_count); operand->type = tuple; operand->mode = Addressing_Value; |