summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-06 20:16:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-06 20:16:24 +0000
commitd0d94d6afbacf1eaccddd046b61f303178052801 (patch)
tree45e1000acea9ac8b63d42fa4ab2000deadb20234 /tools
parentabb1fadc79c3a34d3b41d949f0e20729c153d2fb (diff)
Fix warning about mismatched signs in comparison.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-readobj/MachODumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-readobj/MachODumper.cpp b/tools/llvm-readobj/MachODumper.cpp
index 25dbd3e15b9..0d6bba64215 100644
--- a/tools/llvm-readobj/MachODumper.cpp
+++ b/tools/llvm-readobj/MachODumper.cpp
@@ -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);