Fix gcc warning (enumeral and non-enumeral type in conditional expression)

llvm-svn: 210450
This commit is contained in:
Patrik Hagglund 2014-06-09 07:35:07 +00:00
parent 7f6596bb13
commit aad35e7fc4
1 changed files with 2 additions and 1 deletions

View File

@ -584,7 +584,8 @@ void MCObjectFileInfo::InitCOFFMCObjectFileInfo(Triple T) {
SectionKind::getBSS());
TextSection =
Ctx->getCOFFSection(".text",
(IsWoA ? COFF::IMAGE_SCN_MEM_16BIT : 0) |
(IsWoA ? COFF::IMAGE_SCN_MEM_16BIT
: (COFF::SectionCharacteristics)0) |
COFF::IMAGE_SCN_CNT_CODE |
COFF::IMAGE_SCN_MEM_EXECUTE |
COFF::IMAGE_SCN_MEM_READ,