Missed one instance of implicit pointer conversion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2011-09-19 20:14:46 +00:00
parent 586a55a290
commit 49ca96d7c2

View File

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