summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-07 23:51:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-07 23:51:55 +0000
commitec9491bda3c23687bb31ebad1182e205eb779cd6 (patch)
tree903872c4bf46686669916cadc7c3ee52e5c2b3e0 /llvm/lib/AsmParser/LLParser.cpp
parentcdfb315f1639b4e59ae160c7dd72dbb6a5110d84 (diff)
downloadbcm5719-llvm-ec9491bda3c23687bb31ebad1182e205eb779cd6.tar.gz
bcm5719-llvm-ec9491bda3c23687bb31ebad1182e205eb779cd6.zip
Fix MSVC warning ( | with bool and unsigned int).
llvm-svn: 86417
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 63af42dcca4..26b6a09ab19 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud