summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-15 16:22:00 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:13 +0900
commit6488ae855ffb90f2c73b7ef18ae4dfb86fd65534 (patch)
tree3c53dac00c2e7f99ced1d90e2d7c0ac49a4b8e1f /src
parentd2f267a13dcce67e45ef358e1f133362b0a1c12e (diff)
downloadmruby-6488ae855ffb90f2c73b7ef18ae4dfb86fd65534.tar.gz
mruby-6488ae855ffb90f2c73b7ef18ae4dfb86fd65534.zip
Avoid use of designated initializer for the sake of `cxx_abi`.
Diffstat (limited to 'src')
-rw-r--r--src/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dump.c b/src/dump.c
index c9b5ccc9d..996ecdf40 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -956,7 +956,7 @@ dump_pool(mrb_state *mrb, const mrb_pool_value *p, FILE *fp)
else { /* string */
int i, len = p->tt>>2;
const char *s = p->u.str;
- fprintf(fp, "{IREP_TT_STR|(%d<<2), {.str=\"", len);
+ fprintf(fp, "{IREP_TT_STR|(%d<<2), {\"", len);
for (i=0; i<len; i++) {
fprintf(fp, "\\x%02x", (int)s[i]&0xff);
}