diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-02 20:11:53 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-02 20:11:53 +0000 |
| commit | bf67d8a89b1bdc40119cdfa5c757bc30c85266a7 (patch) | |
| tree | a8bdfb17d73e15c43a100dab719c22fe0a770467 /eval.c | |
| parent | cc24725e27ce94245ccb1b3cca11d34c5d6ca415 (diff) | |
* eval.c (PUSH_FRAME): suppress warnings.
* eval.c (arg_defined): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -766,7 +766,7 @@ static unsigned long frame_unique = 0; _frame.argc = 0; \ _frame.flags = 0; \ _frame.uniq = frame_unique++; \ - ruby_frame = &_frame + ruby_frame = (struct FRAME *)&_frame #define POP_FRAME() \ ruby_current_node = _frame.node; \ @@ -2329,7 +2329,7 @@ arg_defined(self, node, buf, type) VALUE self; NODE *node; char *buf; - char *type; + const char *type; { int argc; int i; |
