summaryrefslogtreecommitdiff
path: root/regerror.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 09:28:20 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 09:28:20 (GMT)
commit075530a6850ebf899e8874d7675fd900577c9554 (patch)
tree45dd63e7b9262c43ebd8ef19b0057a150d1e3eb5 /regerror.c
parent1b039e2a922db417e7fd7e5175476497fb083e7e (diff)
* suppress warnings with -Wwrite-string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regerror.c')
-rw-r--r--regerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regerror.c b/regerror.c
index 2bc2da4..d5d1f40 100644
--- a/regerror.c
+++ b/regerror.c
@@ -41,7 +41,7 @@
extern UChar*
onig_error_code_to_format(int code)
{
- char *p;
+ const char *p;
if (code >= 0) return (UChar* )0;