Fix another conditional expression mismatched enum type warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Beaumont-Gay 2010-12-22 18:25:55 +00:00
parent 1cd05bb605
commit 33a03c73ef

View File

@ -1007,7 +1007,8 @@ public:
FixedValue -= getSectionAddress(Fragment->getParent());
// Determine the appropriate type based on the fixup kind.
Type = Is24BitBranch ? macho::RIT_ARM_Branch24Bit : macho::RIT_Vanilla;
Type = Is24BitBranch ? (unsigned)macho::RIT_ARM_Branch24Bit :
(unsigned)macho::RIT_Vanilla;
}
// struct relocation_info (8 bytes)