diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 09:28:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 09:28:20 +0000 |
commit | 075530a6850ebf899e8874d7675fd900577c9554 (patch) | |
tree | 45dd63e7b9262c43ebd8ef19b0057a150d1e3eb5 /compile.c | |
parent | 1b039e2a922db417e7fd7e5175476497fb083e7e (diff) | |
download | ruby-075530a6850ebf899e8874d7675fd900577c9554.tar.gz |
* suppress warnings with -Wwrite-string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,7 +134,7 @@ static int iseq_set_optargs_table(rb_iseq_t *iseq); */ static void -verify_list(ISEQ_ARG_DECLARE char *info, LINK_ANCHOR *anchor) +verify_list(ISEQ_ARG_DECLARE const char *info, LINK_ANCHOR *anchor) { #if CPDEBUG int flag = 0; @@ -2302,7 +2302,7 @@ static int defined_expr(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE *node, LABEL **lfinish, VALUE needstr) { - char *estr = 0; + const char *estr = 0; enum node_type type; switch (type = nd_type(node)) { |