aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-02-29 14:24:29 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-02-29 14:24:29 +0000
commite0f45d83900b41301a3b949604fb766ee15986e8 (patch)
tree618485b72d09e54fe8c2f781215de5aba0db1df5
parente217e7031c1993a1e5a26e045b79ce7edf173f63 (diff)
downloadperl-URPM-e0f45d83900b41301a3b949604fb766ee15986e8.tar
perl-URPM-e0f45d83900b41301a3b949604fb766ee15986e8.tar.gz
perl-URPM-e0f45d83900b41301a3b949604fb766ee15986e8.tar.bz2
perl-URPM-e0f45d83900b41301a3b949604fb766ee15986e8.tar.xz
perl-URPM-e0f45d83900b41301a3b949604fb766ee15986e8.zip
fix assignment from incompatible pointer type in Urpm_list_rpm_tag for rpm5
-rw-r--r--URPM.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 83b96db..c903698 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3284,7 +3284,11 @@ Urpm_list_rpm_tag(urpm=Nullsv)
while (ext->name != NULL) {
if (ext->type == HEADER_EXT_MORE) {
+#ifdef RPM_500
+ ext = *ext->u.more;
+#else
ext = ext->u.more;
+#endif
continue;
}
for (i = 0; i < rpmTagTableSize; i++) {