Fix warning about mismatched signs in comparison.

llvm-svn: 203155
This commit is contained in:
Rafael Espindola 2014-03-06 20:16:24 +00:00
parent 1194e69fe6
commit 39a0965a3c
1 changed files with 1 additions and 1 deletions

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);