mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add cast for mrb_fixnum_value() from time_t.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user