summaryrefslogtreecommitdiff
path: root/lib/rpmps.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-14 11:36:48 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-14 11:36:48 +0200
commit00eea2ffa02db546dac707f4f32595f915062a1d (patch)
tree486fa981175b5419f7054a4f492556b0a5d19202 /lib/rpmps.c
parent4c91a3b6ad0eca18c732117ca4adf09914b6a64c (diff)
downloadlibrpm-tizen-00eea2ffa02db546dac707f4f32595f915062a1d.tar.gz
librpm-tizen-00eea2ffa02db546dac707f4f32595f915062a1d.tar.bz2
librpm-tizen-00eea2ffa02db546dac707f4f32595f915062a1d.zip
Oops, rpmpsi index needs to be signed type
Diffstat (limited to 'lib/rpmps.c')
-rw-r--r--lib/rpmps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmps.c b/lib/rpmps.c
index 00cb779ef..de6783d6f 100644
--- a/lib/rpmps.c
+++ b/lib/rpmps.c
@@ -32,7 +32,7 @@ struct rpmps_s {
};
struct rpmpsi_s {
- size_t ix;
+ int ix;
rpmps ps;
};
@@ -301,7 +301,7 @@ const char * rpmProblemString(const rpmProblem prob)
const char * pkgNEVR = (prob->pkgNEVR ? prob->pkgNEVR : "?pkgNEVR?");
const char * altNEVR = (prob->altNEVR ? prob->altNEVR : "? ?altNEVR?");
const char * str1 = (prob->str1 ? prob->str1 : N_("different"));
- int nb = strlen(pkgNEVR) + strlen(str1) + strlen(altNEVR) + 100;
+ size_t nb = strlen(pkgNEVR) + strlen(str1) + strlen(altNEVR) + 100;
char * buf = xmalloc(nb+1);
int rc;