mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Fixed signed/unsigned comparison warning.
llvm-svn: 268249
This commit is contained in:
parent
3e660d9f35
commit
5f7c3347d2
@ -292,7 +292,7 @@ DICompositeType *DICompositeType::buildODRType(
|
||||
Flags);
|
||||
Metadata *Ops[] = {File, Scope, Name, BaseType,
|
||||
Elements, VTableHolder, TemplateParams, &Identifier};
|
||||
assert(std::end(Ops) - std::begin(Ops) == CT->getNumOperands() &&
|
||||
assert((std::end(Ops) - std::begin(Ops)) == (int)CT->getNumOperands() &&
|
||||
"Mismatched number of operands");
|
||||
for (unsigned I = 0, E = CT->getNumOperands(); I != E; ++I)
|
||||
if (Ops[I] != CT->getOperand(I))
|
||||
|
Loading…
Reference in New Issue
Block a user