We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c94001 commit d198be3Copy full SHA for d198be3
strings/ctype-uca-scanner_next.inl
@@ -81,7 +81,7 @@ MY_FUNCTION_NAME(scanner_next)(my_uca_scanner *scanner,
81
const uint16 *cweight;
82
83
#if MY_UCA_ASCII_OPTIMIZE && !defined(SCANNER_NEXT_NCHARS)
84
- if (scanner->sbeg + 1 < scanner->send)
+ if (scanner->send - scanner->sbeg > 1)
85
{
86
const MY_UCA_2BYTES_ITEM *ww;
87
ww= my_uca_level_booster_2bytes_item_addr_const(param->level->booster,
0 commit comments