From c6be3482d5a480f2fe52876435ac096518de627c Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 5 Feb 2024 03:18:28 -0500 Subject: fix sizing bug --- compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3