aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index ffd622e4a..1f3928bd8 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -2055,7 +2055,7 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32
error(al.expr, "Alignment parameter to '%.*s' must be constant", LIT(builtin_name));
}
- operand->type = t_u8_ptr;
+ operand->type = alloc_type_multi_pointer(t_u8);
operand->mode = Addressing_Value;
break;
}