index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-12-14 11:50:50 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-14 11:50:50 -0600 |
commit | d1d163c5a3627675e4d063d196ea2b2255507cc8 (patch) | |
tree | f1a415daf18d267afaae64921994cb0921be0ceb /lib/libalpm | |
parent | a5e43b16052b5db0de285cb4abfbcd5dff58f7ad (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 4 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index cdaf5243..21578293 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -236,8 +236,8 @@ alpm_list_t SYMEXPORT *alpm_checkdeps(alpm_list_t *pkglist, int reversedeps, targets = alpm_list_join(alpm_list_copy(remove), alpm_list_copy(upgrade)); for(i = pkglist; i; i = i->next) { - void *pkg = i->data; - if(alpm_list_find(targets, pkg, _alpm_pkg_cmp)) { + pmpkg_t *pkg = i->data; + if(_alpm_pkg_find(targets, pkg->name)) { modified = alpm_list_add(modified, pkg); } else { dblist = alpm_list_add(dblist, pkg); |