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 aa82a40 commit b2f72caCopy full SHA for b2f72ca
utf8proc.c
@@ -688,8 +688,9 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_normalize_utf32(utf8proc_int32_t *b
688
int len = starter_property->comb_length;
689
utf8proc_int32_t max_second = utf8proc_combinations_second[idx + len - 1];
690
if (current_char <= max_second) {
691
+ int off;
692
// TODO: binary search? arithmetic search?
- for (int off = 0; off < len; ++off) {
693
+ for (off = 0; off < len; ++off) {
694
utf8proc_int32_t second = utf8proc_combinations_second[idx + off];
695
if (current_char < second) {
696
/* not found */
0 commit comments