From 49ca96d7c2b7ce10e42feb05cb0d9c7457518537 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 19 Sep 2011 20:14:46 +0000 Subject: [PATCH] Missed one instance of implicit pointer conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140044 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-objdump/MachODump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-objdump/MachODump.cpp b/tools/llvm-objdump/MachODump.cpp index 30853486054..313e763b2bc 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(Calls[i], 0)); + FunctionMap.insert(std::make_pair(Calls[i], (MCFunction*)0)); } for (std::map::iterator mi = FunctionMap.begin(), me = FunctionMap.end(); mi != me; ++mi)