Remove an unnecessary cast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-06-23 16:38:10 +00:00
parent 0a4627d71f
commit 19a81633b0

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);
}