Remove an unnecessary cast.

llvm-svn: 52626
This commit is contained in:
Dan Gohman 2008-06-23 16:38:10 +00:00
parent 84cef04f76
commit 696e841b14

View File

@ -1501,7 +1501,7 @@ class ExtractValueInst : public UnaryInstruction {
if (NumIdx > 0)
// This requires that the iterator points to contiguous memory.
return getIndexedType(Ptr, (const unsigned *)&*IdxBegin, NumIdx);
return getIndexedType(Ptr, &*IdxBegin, NumIdx);
else
return getIndexedType(Ptr, (const unsigned *)0, NumIdx);
}