summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index f92f58cb64..7362a0e6a5 100644
--- a/compile.c
+++ b/compile.c
@@ -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)) {