summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 18:02:17 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 18:02:17 +0000
commit1b7465e893131c8a8b27078704223ecfb2311119 (patch)
tree1ef49f987a8f65bdb2c1396bf681c4f4e2ca8b6c /re.c
parent866e083484738db8ba8b8b37674d9292ef7cb84a (diff)
* eval.c, file.c, etc.: code-cleanup patch from Stefan Huehner
<stefan at huehner.org>. [ruby-core:08029] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 8730723b91..6cc41f4bba 100644
--- a/re.c
+++ b/re.c
@@ -660,7 +660,7 @@ rb_reg_options_m(VALUE re)
static VALUE
rb_reg_kcode_m(VALUE re)
{
- char *kcode;
+ const char *kcode;
if (FL_TEST(re, KCODE_FIXED)) {
switch (RBASIC(re)->flags & KCODE_MASK) {