mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Fix a "comparison between signed and unsigned integer expressions"
warning. llvm-svn: 62327
This commit is contained in:
parent
3f81059a01
commit
e4265cdbb9
@ -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…
x
Reference in New Issue
Block a user