aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/c.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-20 11:01:52 +0100
committerlemon <lsof@mailbox.org>2025-11-20 13:36:49 +0100
commit1f8c531151d0a83e6b2531fdb443c4d6c62c2aab (patch)
tree613e965655d0509640948818da061f5a47e876cd /c/c.c
parent9d043755a73c170b56d364a0a671f18700a2aa19 (diff)
ir: for easier debugging, keep ctype in dats, print as literal when possible
Diffstat (limited to 'c/c.c')
-rw-r--r--c/c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/c.c b/c/c.c
index 2454207..6714cab 100644
--- a/c/c.c
+++ b/c/c.c
@@ -2658,7 +2658,7 @@ expraddr(struct function *fn, const struct expr *ex)
break;
case ESTRLIT:
/* XXX endian for wide strs */
- return mkdatref(NULL, typesize(ex->ty), typealign(ex->ty), ex->s.p, ex->s.n * typesize(typechild(ex->ty)), /*deref*/0);
+ return mkdatref(NULL, ex->ty, typesize(ex->ty), typealign(ex->ty), ex->s.p, ex->s.n * typesize(typechild(ex->ty)), /*deref*/0);
case EDEREF:
return exprvalue(fn, ex->sub);
case EGETF: