summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-25 12:36:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-25 12:36:25 +0000
commit5fa5b50e587918f7003a9a6579e655896e82aa2d (patch)
tree9efec3b7761b3641ec79766a20efe1c08f505415 /eval_error.c
parent37d6a4dd9941afdbb11c7a8e24cd935b8852a7e6 (diff)
eval_error.c: constify
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index 3b50123651..6a0b14cb9b 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -139,7 +139,7 @@ error_print(void)
warn_print("\n");
}
else {
- char *tail = 0;
+ const char *tail = 0;
long len = elen;
if (RSTRING_PTR(epath)[0] == '#')