diff options
| author | Patrick Hogan <[email protected]> | 2012-04-25 11:30:56 -0500 |
|---|---|---|
| committer | Patrick Hogan <[email protected]> | 2012-04-26 08:36:32 -0500 |
| commit | ec27c18dae5d8362fc461231863ecafbcddcfb64 (patch) | |
| tree | e53131200710c68282e9350acbcd21fa0936f79c /src/parse.y | |
| parent | a408ba2dd62c7677f1bbffc9d948f53ec630bfb7 (diff) | |
| download | mruby-ec27c18dae5d8362fc461231863ecafbcddcfb64.tar.gz mruby-ec27c18dae5d8362fc461231863ecafbcddcfb64.zip | |
Fix a few casting warnings.
Signed-off-by: Patrick Hogan <[email protected]>
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y index be18b1d35..04e0a9d01 100644 --- a/src/parse.y +++ b/src/parse.y @@ -4658,7 +4658,7 @@ parser_new(mrb_state *mrb) p->cmd_start = TRUE; p->in_def = p->in_single = FALSE; - p->capture_errors = NULL; + p->capture_errors = 0; p->lineno = 1; #if defined(PARSER_TEST) || defined(PARSER_DEBUG) |
