summaryrefslogtreecommitdiffhomepage
path: root/src/proc.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-09-03 20:57:41 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 18:20:16 +0900
commitfc8885f2f4d0bb8e339c98d6e01e50279756aa5a (patch)
treeb7dc52a7eeb82620aa7e518ea391a808e5d43571 /src/proc.c
parentfe1ad37bfb90588a88dcfb009874b140036cbdb1 (diff)
downloadmruby-fc8885f2f4d0bb8e339c98d6e01e50279756aa5a.tar.gz
mruby-fc8885f2f4d0bb8e339c98d6e01e50279756aa5a.zip
Use `mrb_int` extensively instead of `int`.
The mixture causes warnings on 64 bit Windows (VC).
Diffstat (limited to 'src/proc.c')
-rw-r--r--src/proc.c2
1 files changed, 1 insertions, 1 deletions
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);