diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-19 20:14:46 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-19 20:14:46 +0000 |
commit | 49ca96d7c2b7ce10e42feb05cb0d9c7457518537 (patch) | |
tree | fd0e8ba93a58c0164f9f587f3720497ef5f88195 /tools | |
parent | 586a55a29089c6128f843cd331fed210c480ed0a (diff) |
Missed one instance of implicit pointer conversion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140044 91177308-0d34-0410-b5e6-96231b3b80d8
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) |