summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 09:28:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 09:28:20 +0000
commit99a9915b04100c353fd8d79e6940ce5bde9fb290 (patch)
tree45dd63e7b9262c43ebd8ef19b0057a150d1e3eb5 /eval.c
parenta7fd673519929de15447ed524b3f40d9750e7752 (diff)
downloadruby-99a9915b04100c353fd8d79e6940ce5bde9fb290.tar.gz
ruby-99a9915b04100c353fd8d79e6940ce5bde9fb290.tar.xz
ruby-99a9915b04100c353fd8d79e6940ce5bde9fb290.zip
* suppress warnings with -Wwrite-string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index c594f5b56..76b0f35cd 100644
--- a/eval.c
+++ b/eval.c
@@ -326,7 +326,7 @@ rb_mod_s_constants(int argc, VALUE *argv, VALUE mod)
void
rb_frozen_class_p(VALUE klass)
{
- char *desc = "something(?!)";
+ const char *desc = "something(?!)";
if (OBJ_FROZEN(klass)) {
if (FL_TEST(klass, FL_SINGLETON))