summaryrefslogtreecommitdiffstats
path: root/util.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 /util.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 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 55c7e567f..5e3470f7b 100644
--- a/util.c
+++ b/util.c
@@ -3202,7 +3202,7 @@ rv_alloc(int i)
}
static char *
-nrv_alloc(char *s, char **rve, int n)
+nrv_alloc(const char *s, char **rve, int n)
{
char *rv, *t;