aboutsummaryrefslogtreecommitdiff
path: root/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'decl.c')
-rw-r--r--decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decl.c b/decl.c
index bfe1435..12e8029 100644
--- a/decl.c
+++ b/decl.c
@@ -958,7 +958,7 @@ struct decl *stringdecl(struct expr *expr)
if (!d) {
d = mkdecl(DECLOBJECT, expr->type, QUALNONE, LINKNONE);
d->value = mkglobal("string", true);
- emitdata(d, mkinit(0, expr->type->size, expr));
+ emitdata(d, mkinit(0, expr->type->size, (struct bitfield){0}, expr));
*entry = d;
}
return d;