diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-24 00:20:35 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-24 00:20:35 +0900 |
| commit | f0ac204f21661d7f1dd2fbd1e3f08a95b81d0b21 (patch) | |
| tree | 8bf0d2b64b0f89fb26158a90cb69cb654a54727d /include | |
| parent | daeaa51b2dac8ab94d6d24425078594906ca1465 (diff) | |
| download | mruby-f0ac204f21661d7f1dd2fbd1e3f08a95b81d0b21.tar.gz mruby-f0ac204f21661d7f1dd2fbd1e3f08a95b81d0b21.zip | |
Use size_t instead of int. This is for portability.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/compile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h index 26f8a597f..d8edc32cf 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -127,8 +127,8 @@ struct mrb_parser_state { void *ylval; - int nerr; - int nwarn; + size_t nerr; + size_t nwarn; mrb_ast_node *tree; int capture_errors; |
