diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-09-29 00:18:39 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-29 00:18:39 +0900 |
| commit | 29a9e698e33f89c18cd8f9622bd503aa55df2f51 (patch) | |
| tree | e83110a7db0edaa3a6c191abe850ed7b657f766e /src/error.c | |
| parent | 381850280c036116adaffe42cc420da9c71d28a2 (diff) | |
| parent | 999ce87129fb9216ae746140aa716a764a79b354 (diff) | |
| download | mruby-29a9e698e33f89c18cd8f9622bd503aa55df2f51.tar.gz mruby-29a9e698e33f89c18cd8f9622bd503aa55df2f51.zip | |
Merge pull request #3815 from dabroz/fix-warnings
Fix MSVC 14.0 warnings
Diffstat (limited to 'src/error.c')
| -rw-r--r-- | src/error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.c b/src/error.c index 2c4fd1a40..fd4182eb2 100644 --- a/src/error.c +++ b/src/error.c @@ -71,7 +71,7 @@ exc_exception(mrb_state *mrb, mrb_value self) { mrb_value exc; mrb_value a; - int argc; + mrb_int argc; argc = mrb_get_args(mrb, "|o", &a); if (argc == 0) return self; @@ -386,7 +386,7 @@ mrb_bug(mrb_state *mrb, const char *fmt, ...) } MRB_API mrb_value -mrb_make_exception(mrb_state *mrb, int argc, const mrb_value *argv) +mrb_make_exception(mrb_state *mrb, mrb_int argc, const mrb_value *argv) { mrb_value mesg; int n; |
