forked from PCRE2Project/pcre2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
match: avoid signed/unsigned mismatch
Since 1e78b77 (Code for variable-length lookbehinds, 2023-08-06) the Windows CI job (doing 32bit) is showing: pcre2_match.c(5780,16): warning C4018: '>': signed/unsigned mismatch [pcre2-8-static.vcxproj] pcre2_match.c(5781,16): warning C4018: '>': signed/unsigned mismatch [pcre2-8-static.vcxproj] Restrict the ptrdiff to 16bits and while at it remove an unnecessary conditional from the UTF section as well.
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters