aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval_error.c b/eval_error.c
index d22b865e19..622ae4fdd9 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -69,7 +69,7 @@ error_print(void)
VALUE errat = Qnil; /* OK */
VALUE errinfo = GET_THREAD()->errinfo;
volatile VALUE eclass, e;
- char *einfo;
+ const char *einfo;
long elen;
if (NIL_P(errinfo))
@@ -188,7 +188,7 @@ ruby_error_print(void)
void
rb_print_undef(VALUE klass, ID id, int scope)
{
- char *v;
+ const char *v;
switch (scope) {
default: