summaryrefslogtreecommitdiff
path: root/lib/rpminstall.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-13 09:25:10 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-13 09:25:10 +0200
commitc8f2927227471758abbdb36781d885b01798f0f8 (patch)
treed3fced97892138d64913efabcf3a0f58411457ea /lib/rpminstall.c
parent50f608b42f55e1d2c89dc22a01c58b7621b620a5 (diff)
downloadlibrpm-tizen-c8f2927227471758abbdb36781d885b01798f0f8.tar.gz
librpm-tizen-c8f2927227471758abbdb36781d885b01798f0f8.tar.bz2
librpm-tizen-c8f2927227471758abbdb36781d885b01798f0f8.zip
Use rpm_count_t everywhere for header data count
- typedef'ed as uint32_t as that's the key size limit imposed by BDB, relevant for RPM_BIN_TYPE - easy to change to whatever later on as it's now consistent everywhere
Diffstat (limited to 'lib/rpminstall.c')
-rw-r--r--lib/rpminstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index ade1bae3d..16aac5281 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -474,7 +474,7 @@ if (fileURL[0] == '=') {
if (eiu->relocations) {
const char ** paths;
int pft;
- int c;
+ rpm_count_t c;
if (headerGetEntry(eiu->h, RPMTAG_PREFIXES, &pft,
(void **) &paths, &c) && (c == 1))