Fix incorrect cast in pkgDepCache::Policy::GetCandidateVer()
Reported-By: clang -fsanitize=address -fno-omit-frame-pointer
{
/* Not source/not automatic versions cannot be a candidate version
unless they are already installed */
{
/* Not source/not automatic versions cannot be a candidate version
unless they are already installed */
- VerIterator Last(*(pkgCache *)this,0);
for (VerIterator I = Pkg.VersionList(); I.end() == false; ++I)
{
for (VerIterator I = Pkg.VersionList(); I.end() == false; ++I)
{