diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-09-04 18:28:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-09-04 18:28:56 +0900 |
| commit | 32aee72d295e2de3c890791b61ab9741b99912b1 (patch) | |
| tree | 560ccea2ad6ce2e73c1c206de8d1192dfc877cd7 /src/dump.c | |
| parent | 3492be401a16ff661beefd03c9f152744900e5c0 (diff) | |
| download | mruby-32aee72d295e2de3c890791b61ab9741b99912b1.tar.gz mruby-32aee72d295e2de3c890791b61ab9741b99912b1.zip | |
wrong iseq conversion flag
Diffstat (limited to 'src/dump.c')
| -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 905bfc72b..0ea4e5afe 100644 --- a/src/dump.c +++ b/src/dump.c @@ -974,7 +974,7 @@ mrb_dump_irep_binary(mrb_state *mrb, mrb_irep *irep, int debug_info, FILE* fp) return MRB_DUMP_INVALID_ARGUMENT; } - result = dump_irep(mrb, irep, debug_info, &bin, &bin_size, FLAG_BYTEORDER_NATIVE); + result = dump_irep(mrb, irep, debug_info, &bin, &bin_size, FLAG_BYTEORDER_NONATIVE); if (result == MRB_DUMP_OK) { if (fwrite(bin, sizeof(bin[0]), bin_size, fp) != bin_size) { result = MRB_DUMP_WRITE_FAULT; |
