Skip to content

Commit 35eafc9

Browse files
Fix warning about signed/unsigned mismatch (#649)
1 parent 2368531 commit 35eafc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pcre2_jit_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,7 @@ switch(*cc)
17671767
if (max == 0)
17681768
return (*cc == OP_CRRANGE) ? 2 : 1;
17691769
max -= min;
1770-
if (max > (*cc == OP_CRRANGE ? 0 : 1))
1770+
if (max > (sljit_u32)(*cc == OP_CRRANGE ? 0 : 1))
17711771
max = 2;
17721772
return max;
17731773

0 commit comments

Comments
 (0)