From 43909e6caefc4b4f4e872a4333c467651d645f45 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 13 Dec 2012 20:53:08 -0500 Subject: replaces and conflicts are alpm_dep_t --- expac.c | 4 ++-- 1 file 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); -- cgit v1.2.3-70-g09d2