From: Benjamin Kramer Date: Sun, 29 Mar 2015 20:49:03 +0000 (+0000) Subject: Silence sign compare warning. NFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19d058836a6029705d7329d0d62bff3f3b49ab4e;p=oota-llvm.git Silence sign compare warning. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233502 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/InlineAsm.cpp b/lib/IR/InlineAsm.cpp index 47dce20a517..aa9e0272ad1 100644 --- a/lib/IR/InlineAsm.cpp +++ b/lib/IR/InlineAsm.cpp @@ -168,7 +168,8 @@ bool InlineAsm::ConstraintInfo::Parse(StringRef Str, scInfo.MatchingInput = ConstraintsSoFar.size(); } else { if (ConstraintsSoFar[N].hasMatchingInput() && - ConstraintsSoFar[N].MatchingInput != ConstraintsSoFar.size()) + (size_t)ConstraintsSoFar[N].MatchingInput != + ConstraintsSoFar.size()) return true; // Note that operand #n has a matching input. ConstraintsSoFar[N].MatchingInput = ConstraintsSoFar.size();