diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-objdump/MachODump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-objdump/MachODump.cpp b/tools/llvm-objdump/MachODump.cpp index 3085348605..313e763b2b 100644 --- a/tools/llvm-objdump/MachODump.cpp +++ b/tools/llvm-objdump/MachODump.cpp @@ -353,7 +353,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) { FunctionMap[Sections[SectIdx].Offset] = &Functions.back(); for (unsigned i = 0, e = Calls.size(); i != e; ++i) - FunctionMap.insert(std::pair<uint64_t, MCFunction*>(Calls[i], 0)); + FunctionMap.insert(std::make_pair(Calls[i], (MCFunction*)0)); } for (std::map<uint64_t, MCFunction*>::iterator mi = FunctionMap.begin(), me = FunctionMap.end(); mi != me; ++mi) |