Skip to content

Commit 4e14823

Browse files
authored
Merge pull request #6811 from hughbe/constraint-warnings
Fix signed warnings compiling lib/Sema/ConstraintSystem.h
2 parents 48da014 + b3ade87 commit 4e14823

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)