summaryrefslogtreecommitdiff
path: root/enc/gbk.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/gbk.c')
-rw-r--r--enc/gbk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/gbk.c b/enc/gbk.c
index 3efb1bf636..5b6c78740b 100644
--- a/enc/gbk.c
+++ b/enc/gbk.c
@@ -130,9 +130,9 @@ gbk_mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc ARG_UNUSED)
}
static OnigCodePoint
-gbk_mbc_to_code(const UChar* p, const UChar* end, OnigEncoding enc)
+gbk_mbc_to_code(const UChar* p, const UChar* end, int *precise_ret, OnigEncoding enc)
{
- return onigenc_mbn_mbc_to_code(enc, p, end);
+ return onigenc_mbn_mbc_to_code(enc, p, end, precise_ret);
}
static int