diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-26 04:11:38 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-26 04:11:38 -0800 |
| commit | e9e1259b61ec869eb64f0c872508957eb7a9d2b8 (patch) | |
| tree | 97f4744a40db1959348072104bc0deaa1bad8b36 /src/load.c | |
| parent | 0f9d287ba487f6d39f5cf389bbdcaf86eb88ec79 (diff) | |
| parent | 1a6244d99dc31ab4782c32d3ab9aea4d1d563b48 (diff) | |
| download | mruby-e9e1259b61ec869eb64f0c872508957eb7a9d2b8.tar.gz mruby-e9e1259b61ec869eb64f0c872508957eb7a9d2b8.zip | |
Merge pull request #1599 from kyab/fix_mrb_word_boxing
Fix build error for MRB_WORD_BOXING
Diffstat (limited to 'src/load.c')
| -rw-r--r-- | src/load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load.c b/src/load.c index f8dd5b525..be42478a8 100644 --- a/src/load.c +++ b/src/load.c @@ -87,7 +87,7 @@ read_irep_record_1(mrb_state *mrb, const uint8_t *bin, uint32_t *len) if (SIZE_ERROR_MUL(sizeof(mrb_value), plen)) { return NULL; } - irep->pool = (struct mrb_value*)mrb_malloc(mrb, sizeof(mrb_value) * plen); + irep->pool = (mrb_value*)mrb_malloc(mrb, sizeof(mrb_value) * plen); if (irep->pool == NULL) { return NULL; } |
