diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-07 23:51:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-07 23:51:55 +0000 |
commit | f0bb41c078d657c70ce6b95d5b56645c72ca7db4 (patch) | |
tree | c86ffc0a280541418c5e6a990f5595922bb38c80 /lib/AsmParser/LLParser.cpp | |
parent | d71153577f41e3fed279599253dfaf38ca4243d5 (diff) |
Fix MSVC warning ( | with bool and unsigned int).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 63af42dcca..26b6a09ab1 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -2039,7 +2039,7 @@ bool LLParser::ParseValID(ValID &ID) { ParseToken(lltok::StringConstant, "expected constraint string")) return true; ID.StrVal2 = Lex.getStrVal(); - ID.UIntVal = HasSideEffect | ((unsigned)AlignStack<<1); + ID.UIntVal = unsigned(HasSideEffect) | (unsigned(AlignStack)<<1); ID.Kind = ValID::t_InlineAsm; return false; } |