diff options
Diffstat (limited to 'enc/utf_32le.c')
-rw-r--r-- | enc/utf_32le.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/enc/utf_32le.c b/enc/utf_32le.c index 3a0a41bba7..2754d33320 100644 --- a/enc/utf_32le.c +++ b/enc/utf_32le.c @@ -61,8 +61,11 @@ utf32le_is_mbc_newline(const UChar* p, const UChar* end, static OnigCodePoint utf32le_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED, + int *precise_ret, OnigEncoding enc ARG_UNUSED) { + if (precise_ret) + *precise_ret = ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND(4); return (OnigCodePoint )(((p[3] * 256 + p[2]) * 256 + p[1]) * 256 + p[0]); } |