Add cast to avoid compiler warning.

This commit is contained in:
Philip.Hazel 2017-03-14 16:46:08 +00:00
parent 88db1be123
commit be5dd257d2
1 changed files with 1 additions and 1 deletions

View File

@ -5428,7 +5428,7 @@ fprintf(stderr, "++ op=%d\n", *Fecode);
/* No UTF-8 support, or not in UTF-8 mode: count is byte count */
{
if (number > Feptr - mb->start_subject) RRETURN(MATCH_NOMATCH);
if ((ptrdiff_t)number > Feptr - mb->start_subject) RRETURN(MATCH_NOMATCH);
Feptr -= number;
}