forked from OSchip/llvm-project
Fix a "comparison between signed and unsigned integer expressions"
warning. llvm-svn: 62327
This commit is contained in:
parent
195d36cb57
commit
b903071735
|
@ -155,7 +155,7 @@ namespace {
|
|||
if (C == Other)
|
||||
return NoHazard;
|
||||
unsigned Score = 0;
|
||||
for (int i = 0; i != array_lengthof(Window); ++i)
|
||||
for (unsigned i = 0; i != array_lengthof(Window); ++i)
|
||||
if (Window[i] == C)
|
||||
Score += i + 1;
|
||||
if (Score > array_lengthof(Window) * 2)
|
||||
|
|
Loading…
Reference in New Issue