diff options
| author | gingerBill <bill@gingerbill.org> | 2021-09-06 15:45:05 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-09-06 15:45:05 +0100 |
| commit | 31f779f1a4e9242ffa50ac4fc38fa8dbb10e6078 (patch) | |
| tree | 0771544198bce26b92b9077254cb960fa8550d1c /src/check_builtin.cpp | |
| parent | a3a891a7f4b0c099af49eb180dc8ce2e09527b50 (diff) | |
`intrinsics.alloca` now returns `[^]u8`
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 2 |
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; } |