summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman')
-rw-r--r--src/pacman/callback.c2
-rw-r--r--src/pacman/package.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index ffca8bec..0cc462d6 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -312,7 +312,7 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
{
alpm_list_t *providers = (alpm_list_t *)data1;
int count = alpm_list_count(providers);
- char *depstring = alpm_dep_compute_string((pmdepend_t *)data2);
+ char *depstring = alpm_dep_compute_string((alpm_depend_t *)data2);
printf(_(":: There are %d providers available for %s:\n"), count,
depstring);
free(depstring);
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 22b9045e..49d80ef0 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -83,7 +83,7 @@ void dump_pkg_full(alpm_pkg_t *pkg, enum pkg_from from, int extra)
/* turn depends list into a text list */
for(i = alpm_pkg_get_depends(pkg); i; i = alpm_list_next(i)) {
- pmdepend_t *dep = (pmdepend_t *)alpm_list_getdata(i);
+ alpm_depend_t *dep = (alpm_depend_t *)alpm_list_getdata(i);
depstrings = alpm_list_add(depstrings, alpm_dep_compute_string(dep));
}