mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix warning: "implicit conversion from enumeration type 'enum mrb_vtype' to different enumeration type 'enum irep_pool_type' [-Wenum-conversion]"
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user