diff options
Diffstat (limited to 'enc/euc_jp.c')
-rw-r--r-- | enc/euc_jp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/euc_jp.c b/enc/euc_jp.c index 61bb8ba65a..d0852c3daa 100644 --- a/enc/euc_jp.c +++ b/enc/euc_jp.c @@ -501,9 +501,9 @@ static const OnigCodePoint CR_Cyrillic[] = { #include "enc/jis/props.h" static int -property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end) +property_name_to_ctype(OnigEncoding enc, const UChar* p, const UChar* end) { - UChar *s = p, *e = end; + const UChar *s = p, *e = end; const struct enc_property *prop = onig_jis_property((const char* )s, (unsigned int )(e - s)); |