diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-12-13 20:53:08 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-12-13 20:53:37 -0500 |
commit | 43909e6caefc4b4f4e872a4333c467651d645f45 (patch) | |
tree | d702e125fcc2829792bd5e454d60425c877a4792 | |
parent | 5fff26ff337721c12ab95e23724a20803b00615d (diff) | |
download | expac-43909e6caefc4b4f4e872a4333c467651d645f45.tar.xz |
replaces and conflicts are alpm_dep_t
-rw-r--r-- | expac.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -540,7 +540,7 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) { out += print_list(alpm_pkg_get_optdepends(pkg), (extractfn)trim_optdep, shortdeps); break; case 'C': /* conflicts */ - out += print_list(alpm_pkg_get_conflicts(pkg), NULL, shortdeps); + out += print_list(alpm_pkg_get_conflicts(pkg), (extractfn)alpm_dep_get_name, shortdeps); break; case 'S': /* provides (shortdeps) */ out += print_list(alpm_pkg_get_provides(pkg), (extractfn)alpm_dep_get_name, shortdeps); @@ -549,7 +549,7 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) { out += print_list(alpm_pkg_get_provides(pkg), (extractfn)alpm_dep_compute_string, shortdeps); break; case 'R': /* replaces */ - out += print_list(alpm_pkg_get_replaces(pkg), NULL, shortdeps); + out += print_list(alpm_pkg_get_replaces(pkg), (extractfn)alpm_dep_get_name, shortdeps); break; case 'B': /* backup */ out += print_list(alpm_pkg_get_backup(pkg), alpm_backup_get_name, shortdeps); |