mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix: mrbgems\mruby-time\src\time.c(641): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data
This commit is contained in:
committed by
Tomasz Dabrowski
parent
0848407ee5
commit
be81504770
@@ -634,7 +634,7 @@ mrb_time_initialize(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
mrb_int ayear = 0, amonth = 1, aday = 1, ahour = 0,
|
||||
amin = 0, asec = 0, ausec = 0;
|
||||
int n;
|
||||
mrb_int n;
|
||||
struct mrb_time *tm;
|
||||
|
||||
n = mrb_get_args(mrb, "|iiiiiii",
|
||||
|
||||
Reference in New Issue
Block a user