From 075530a6850ebf899e8874d7675fd900577c9554 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 31 May 2008 09:28:20 +0000 Subject: * suppress warnings with -Wwrite-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regerror.c') diff --git a/regerror.c b/regerror.c index 2bc2da4c71..d5d1f4008e 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; -- cgit v1.2.3