summaryrefslogtreecommitdiff
path: root/rpmdb/header_internal.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 /rpmdb/header_internal.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 'rpmdb/header_internal.c')
-rw-r--r--rpmdb/header_internal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdb/header_internal.c b/rpmdb/header_internal.c
index 914d9907d..36cb84ef2 100644
--- a/rpmdb/header_internal.c
+++ b/rpmdb/header_internal.c
@@ -11,7 +11,8 @@
char ** headerGetLangs(Header h)
{
char **s, *e, **table;
- int i, type, count;
+ int type;
+ rpm_count_t i, count;
if (!headerGetRawEntry(h, HEADER_I18NTABLE, &type, (const void **)&s, &count))
return NULL;