mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
resolved #84372 RURBAN++
This commit is contained in:
parent
a45e3add05
commit
04e45e686e
1 changed files with 2 additions and 2 deletions
4
dbdimp.c
4
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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue