From fc8885f2f4d0bb8e339c98d6e01e50279756aa5a Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 3 Sep 2020 20:57:41 +0900 Subject: Use `mrb_int` extensively instead of `int`. The mixture causes warnings on 64 bit Windows (VC). --- src/proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proc.c') diff --git a/src/proc.c b/src/proc.c index d94044f72..b971b6520 100644 --- a/src/proc.c +++ b/src/proc.c @@ -62,7 +62,7 @@ env_new(mrb_state *mrb, mrb_int nlocals) { struct REnv *e; mrb_callinfo *ci = mrb->c->ci; - int bidx; + mrb_int bidx; e = (struct REnv*)mrb_obj_alloc(mrb, MRB_TT_ENV, NULL); MRB_ENV_SET_LEN(e, nlocals); -- cgit v1.2.3