summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-12-13 20:53:08 -0500
committerDave Reisner <dreisner@archlinux.org>2012-12-13 20:53:37 -0500
commit43909e6caefc4b4f4e872a4333c467651d645f45 (patch)
treed702e125fcc2829792bd5e454d60425c877a4792
parent5fff26ff337721c12ab95e23724a20803b00615d (diff)
downloadexpac-43909e6caefc4b4f4e872a4333c467651d645f45.tar.xz
replaces and conflicts are alpm_dep_t
-rw-r--r--expac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/expac.c b/expac.c
index 24a4487..768683e 100644
--- a/expac.c
+++ b/expac.c
@@ -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);