Fix warning about mismatched signs in comparison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-03-06 20:16:24 +00:00
parent abb1fadc79
commit d0d94d6afb

View File

@@ -397,7 +397,7 @@ void MachODumper::printSymbol(symbol_iterator SymI) {
W.startLine() << "PrivateExtern\n";
if (Symbol.Type & MachO::N_EXT)
W.startLine() << "Extern\n";
W.printEnum("Type", Symbol.Type & MachO::N_TYPE,
W.printEnum("Type", uint8_t(Symbol.Type & MachO::N_TYPE),
makeArrayRef(MachOSymbolTypes));
}
W.printHex ("Section", SectionName, Symbol.SectionIndex);