diff options
| author | Tomasz Dąbrowski <[email protected]> | 2017-09-25 16:02:01 +0200 |
|---|---|---|
| committer | Tomasz Dabrowski <[email protected]> | 2017-09-27 22:22:04 +0200 |
| commit | d8b37d0381335e23a64e513a354491c6b8f42f2d (patch) | |
| tree | ccdeebf8ea0096df8be1e14b58f84c94ce4fd561 /src | |
| parent | 4146b5c2b530e40b463df29d4c0d724f0ee23dab (diff) | |
| download | mruby-d8b37d0381335e23a64e513a354491c6b8f42f2d.tar.gz mruby-d8b37d0381335e23a64e513a354491c6b8f42f2d.zip | |
fix: src\class.c(583): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data
Diffstat (limited to 'src')
| -rw-r--r-- | src/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c index 44121bce6..3268dc7d3 100644 --- a/src/class.c +++ b/src/class.c @@ -569,7 +569,7 @@ mrb_get_args(mrb_state *mrb, const char *format, ...) char c; int i = 0; va_list ap; - int argc = mrb->c->ci->argc; + mrb_int argc = mrb->c->ci->argc; int arg_i = 0; mrb_value *array_argv; mrb_bool opt = FALSE; |
