aboutsummaryrefslogtreecommitdiff
path: root/repl.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-20 15:38:21 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-20 15:38:21 -0400
commitc632a72486d347e7ef30c0b7890e2045ed42b903 (patch)
treeeaf1eaba7ed6a3aefb1671d5640931a65764b904 /repl.c
parenta5bc93df7d641026b5536b2bc429540a8f55e568 (diff)
Minor fix
Diffstat (limited to 'repl.c')
-rw-r--r--repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/repl.c b/repl.c
index 0d453ad4..c8fbc94b 100644
--- a/repl.c
+++ b/repl.c
@@ -135,7 +135,7 @@ const TypeInfo_t *type_to_type_info(type_t *t)
}
case PointerType: {
auto ptr = Match(t, PointerType);
- CORD sigil = ptr->is_stack ? "&" : "@";
+ const char *sigil = ptr->is_stack ? "&" : "@";
const TypeInfo_t *pointed_info = type_to_type_info(ptr->pointed);
const TypeInfo_t pointer_info = {.size=sizeof(void*), .align=__alignof__(void*),
.tag=PointerInfo, .PointerInfo={.sigil=sigil, .pointed=pointed_info}};