Silence GCC warning for using both enum and unsigned in a ternary expr.

llvm-svn: 186762
This commit is contained in:
Benjamin Kramer 2013-07-20 12:06:17 +00:00
parent 08e5070bf5
commit a3d5304ec0
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ OMPClause *Parser::ParseOpenMPSimpleClause(OpenMPClauseKind Kind) {
return 0;
unsigned Type = Tok.isAnnotation() ?
OMPC_DEFAULT_unknown :
unsigned(OMPC_DEFAULT_unknown) :
getOpenMPSimpleClauseType(Kind, PP.getSpelling(Tok));
SourceLocation TypeLoc = Tok.getLocation();
if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) &&