summaryrefslogtreecommitdiff
path: root/compiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.c')
-rw-r--r--compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler.c b/compiler.c
index 52a2929..15f60e8 100644
--- a/compiler.c
+++ b/compiler.c
@@ -962,7 +962,7 @@ void _var_op_set_ptr(CompData *out, Variable *store, Variable *from) {
}
}
- switch (_var_pure_size(from)) {
+ switch (_var_size(from)) {
case 1:
vect_push_string(&out->text, "\tmovzx rsi, byte [rsi]\n");
break;