summaryrefslogtreecommitdiffstats
path: root/RPM4/src
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-01-02 16:18:09 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-01-02 16:18:09 +0000
commit9da95461b65a6ca87b2ec71cc76b968b2a3167eb (patch)
tree3aaf16a426a3b46778675dd49b7815ccd0134a51 /RPM4/src
parent47f3d5fc7c9a0ef2b8e8ac1a435f0b4951c9c37a (diff)
downloadperl-RPM4-9da95461b65a6ca87b2ec71cc76b968b2a3167eb.tar
perl-RPM4-9da95461b65a6ca87b2ec71cc76b968b2a3167eb.tar.gz
perl-RPM4-9da95461b65a6ca87b2ec71cc76b968b2a3167eb.tar.bz2
perl-RPM4-9da95461b65a6ca87b2ec71cc76b968b2a3167eb.tar.xz
perl-RPM4-9da95461b65a6ca87b2ec71cc76b968b2a3167eb.zip
(_headername_vs_dep,Header_tag,Header_tagtype) fix signedness of
arguments of headerGetEntry() git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@167 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/src')
-rw-r--r--RPM4/src/RPM4.xs10
1 files changed, 5 insertions, 5 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index df75a87..2d377ee 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -470,7 +470,7 @@ int _header_vs_dep(Header h, rpmds dep, int nopromote) {
}
int _headername_vs_dep(Header h, rpmds dep, int nopromote) {
- char *name; int type;
+ char *name; rpm_tagtype_t type;
int rc = 0;
CHECK_RPMDS_IX(dep);
headerGetEntry(h, RPMTAG_NAME, &type, (void **) &name, NULL);
@@ -1092,8 +1092,8 @@ Header_tag(h, sv_tag)
SV * sv_tag
PREINIT:
void *ret = NULL;
- int type;
- int n;
+ rpm_tagtype_t type;
+ rpm_tagtype_t n;
rpmTag tag = -1;
PPCODE:
if (SvIOK(sv_tag)) {
@@ -1145,12 +1145,12 @@ Header_tag(h, sv_tag)
}
headerFreeTag(h, ret, type);
-int
+unsigned int
Header_tagtype(h, sv_tag)
Header h
SV * sv_tag
PREINIT:
- int type;
+ rpm_tagtype_t type;
rpmTag tag = -1;
CODE:
if (SvIOK(sv_tag)) {