From 04e45e686e337429979c9161773f0ff259d5a582 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Tue, 2 Apr 2013 14:50:41 +0000 Subject: [PATCH] resolved #84372 RURBAN++ --- dbdimp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbdimp.c b/dbdimp.c index ce23128..956c547 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -2667,10 +2667,10 @@ static int perl_tokenizer_Next( /* recompute start/end offsets in bytes, not in chars */ hop = *piStartOffset - c->lastCharOffset; - byteOffset = utf8_hop((U8*)c->lastByteOffset, hop); + byteOffset = (char*)utf8_hop((U8*)c->lastByteOffset, hop); hop = *piEndOffset - *piStartOffset; *piStartOffset = byteOffset - c->pInput; - byteOffset = utf8_hop(byteOffset, hop); + byteOffset = (char*)utf8_hop((U8*)byteOffset, hop); *piEndOffset = byteOffset - c->pInput; /* remember where we are for next round */