diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-09-03 20:57:41 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 18:20:16 +0900 |
| commit | fc8885f2f4d0bb8e339c98d6e01e50279756aa5a (patch) | |
| tree | b7dc52a7eeb82620aa7e518ea391a808e5d43571 /src/gc.c | |
| parent | fe1ad37bfb90588a88dcfb009874b140036cbdb1 (diff) | |
| download | mruby-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/gc.c')
| -rw-r--r-- | src/gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -591,11 +591,11 @@ add_gray_list(mrb_state *mrb, mrb_gc *gc, struct RBasic *obj) gc->gray_list = obj; } -static int +static mrb_int ci_nregs(mrb_callinfo *ci) { const struct RProc *p = ci->proc; - int n = 0; + mrb_int n = 0; if (!p) { if (ci->argc < 0) return 3; |
