X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fregex%2Fregexec.c;fp=src%2Fregex%2Fregexec.c;h=8107aae775d46caafc0afe19e2546f835baf6487;hp=79874ca5522849425e7af58ed05dee16d85d2a3f;hb=b9dd43db04ca312c3c1cc6ddc77e8f5bf559e72d;hpb=0115a6ed964f4afe87847a252363801e96194f0b diff --git a/src/regex/regexec.c b/src/regex/regexec.c index 79874ca5..8107aae7 100644 --- a/src/regex/regexec.c +++ b/src/regex/regexec.c @@ -174,7 +174,7 @@ tre_tnfa_run_parallel(const tre_tnfa_t *tnfa, const void *string, tre_char_t prev_c = 0, next_c = 0; const char *str_byte = string; int pos = -1; - unsigned int pos_add_next = 1; + int pos_add_next = 1; #ifdef TRE_MBSTATE mbstate_t mbstate; #endif /* TRE_MBSTATE */ @@ -583,7 +583,7 @@ tre_tnfa_run_backtrack(const tre_tnfa_t *tnfa, const void *string, tre_char_t prev_c = 0, next_c = 0; const char *str_byte = string; int pos = 0; - unsigned int pos_add_next = 1; + int pos_add_next = 1; #ifdef TRE_MBSTATE mbstate_t mbstate; #endif /* TRE_MBSTATE */