aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/c.c
diff options
context:
space:
mode:
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: