diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -690,7 +690,7 @@ return_files(const Header header, int filter_mode) { rpmtdInit(&td_list); } - int count = is_oldfilenames ? rpmtdCount(&td_list) : rpmtdCount(&td_baseNames); + rpm_count_t count = is_oldfilenames ? rpmtdCount(&td_list) : rpmtdCount(&td_baseNames); for(i = 0; i < count; i++) { if (is_oldfilenames) { s = rpmtdNextString(&td_list); @@ -1600,7 +1600,7 @@ Pkg_fullname(pkg) char *arch = get_arch(pkg->h); if (gimme == G_SCALAR) { - const char *s = headerGetAsString(pkg->h, RPMTAG_NVR); + char *s = headerGetAsString(pkg->h, RPMTAG_NVR); mXPUSHs(newSVpvf("%s.%s", s, arch)); free(s); } else if (gimme == G_ARRAY) { |