Skip to content

Commit 0add13d

Browse files
committed
update for mruby 3.0
1 parent ec9d4c8 commit 0add13d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mrb_uv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ mrb_uv_getaddrinfo(mrb_state *mrb, mrb_value self)
921921
hints.ai_protocol = IPPROTO_TCP;
922922
}
923923
value = mrb_hash_get(mrb, mrb_hints, mrb_symbol_value(mrb_intern_lit(mrb, "flags")));
924-
if (mrb_obj_is_kind_of(mrb, value, mrb->fixnum_class)) {
924+
if (mrb_obj_is_kind_of(mrb, value, mrb->integer_class)) {
925925
hints.ai_flags = mrb_int(mrb, value);
926926
}
927927

0 commit comments

Comments
 (0)