summaryrefslogtreecommitdiff
path: root/regerror.c
diff options
context:
space:
mode:
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 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;