diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-17 13:39:47 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-17 13:39:47 -0800 |
| commit | 8bde7e3c5fca4a5571440b83b76ccc38c8dcc530 (patch) | |
| tree | 32a3341df890d2419a0f63a3897db72d0fcf0dab /src/load.c | |
| parent | 2bda9652585616b49449904aad0195d8b23e58a4 (diff) | |
| parent | 305b5d691b83b09142eaafbbda6ae1d734a59431 (diff) | |
| download | mruby-8bde7e3c5fca4a5571440b83b76ccc38c8dcc530.tar.gz mruby-8bde7e3c5fca4a5571440b83b76ccc38c8dcc530.zip | |
Merge pull request #1582 from takahashim/warning-enum-irep_pool_type
irep->pool[n].type should be IREP_TT_*, not MRB_TT_*
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 68ebb1f7b..7d131f7b6 100644 --- a/src/load.c +++ b/src/load.c @@ -111,7 +111,7 @@ read_irep_record_1(mrb_state *mrb, const uint8_t *bin, uint32_t *len) irep->pool[i].value.i = mrb_fixnum(v); break; case MRB_TT_FLOAT: - irep->pool[i].type = MRB_TT_FLOAT; + irep->pool[i].type = IREP_TT_FLOAT; irep->pool[i].value.f = mrb_float(v); default: /* broken data; should not happen */ |
