Add cast for `mrb_fixnum_value()` from `time_t`.

parent 5e55b61c
......@@ -120,7 +120,7 @@ mrb_f_usleep(mrb_state *mrb, mrb_value self)
}
#endif
return mrb_fixnum_value(slp_tm);
return mrb_fixnum_value((mrb_int)slp_tm);
}
void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment