Skip to content

Commit b3ade87

Browse files
committed
Fix signed warnings compiling lib/Sema/ConstraintSystem.h
1 parent 5e395bc commit b3ade87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/ConstraintSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2482,7 +2482,7 @@ class ConstraintSystem {
24822482
return false;
24832483

24842484
// Clearly exponential
2485-
if (TypeCounter < 32 && CountScopes > (1 << TypeCounter))
2485+
if (TypeCounter < 32 && CountScopes > (1U << TypeCounter))
24862486
return true;
24872487

24882488
// Bail out once we've looked at a really large number of

0 commit comments

Comments
 (0)