diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-06-15 16:22:00 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:13 +0900 |
| commit | 6488ae855ffb90f2c73b7ef18ae4dfb86fd65534 (patch) | |
| tree | 3c53dac00c2e7f99ced1d90e2d7c0ac49a4b8e1f | |
| parent | d2f267a13dcce67e45ef358e1f133362b0a1c12e (diff) | |
| download | mruby-6488ae855ffb90f2c73b7ef18ae4dfb86fd65534.tar.gz mruby-6488ae855ffb90f2c73b7ef18ae4dfb86fd65534.zip | |
Avoid use of designated initializer for the sake of `cxx_abi`.
| -rw-r--r-- | src/dump.c | 2 |
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); } |
