1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix -Werror build with clang-cl.

llvm-svn: 286683
This commit is contained in:
Zachary Turner 2016-11-11 23:58:11 +00:00
parent 1cad744181
commit 7b6891fa31

View File

@ -1330,7 +1330,7 @@ static void WriteConstantInternal(raw_ostream &Out, const Constant *CV,
} }
for (User::const_op_iterator OI=CE->op_begin(); OI != CE->op_end(); ++OI) { for (User::const_op_iterator OI=CE->op_begin(); OI != CE->op_end(); ++OI) {
if (InRangeOp && (OI - CE->op_begin()) == *InRangeOp) if (InRangeOp && unsigned(OI - CE->op_begin()) == *InRangeOp)
Out << "inrange "; Out << "inrange ";
TypePrinter.print((*OI)->getType(), Out); TypePrinter.print((*OI)->getType(), Out);
Out << ' '; Out << ' ';