diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 09:25:10 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 09:25:10 +0200 |
commit | c8f2927227471758abbdb36781d885b01798f0f8 (patch) | |
tree | d3fced97892138d64913efabcf3a0f58411457ea /lib/rpminstall.c | |
parent | 50f608b42f55e1d2c89dc22a01c58b7621b620a5 (diff) | |
download | librpm-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.c | 2 |
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)) |