summaryrefslogtreecommitdiff
path: root/lib/formats.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-02-04 11:27:00 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-02-04 11:27:00 +0200
commite886043a1027fabf975f5e6542437e412a137e67 (patch)
treee393703802e01c444fac13b4a7d18297567b3bd3 /lib/formats.c
parentf53c32337238b84bb2c555ca12cdc07f6a963361 (diff)
downloadlibrpm-tizen-e886043a1027fabf975f5e6542437e412a137e67.tar.gz
librpm-tizen-e886043a1027fabf975f5e6542437e412a137e67.tar.bz2
librpm-tizen-e886043a1027fabf975f5e6542437e412a137e67.zip
Add rpm_off_t type for file size types, use where spotted
- preliminaries for bumping up the max size, use rpm-specific type as off_t size varies, header data needs fixed size
Diffstat (limited to 'lib/formats.c')
-rw-r--r--lib/formats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/formats.c b/lib/formats.c
index 545562a7a..eb9f965c1 100644
--- a/lib/formats.c
+++ b/lib/formats.c
@@ -555,8 +555,8 @@ static int fssizesTag(Header h, rpm_tagtype_t* type,
{
HGE_t hge = (HGE_t)headerGetEntryMinMemory;
const char ** filenames;
- int32_t * filesizes;
- uint32_t * usages;
+ rpm_off_t * filesizes;
+ rpm_off_t * usages;
rpm_count_t numFiles;
if (!hge(h, RPMTAG_FILESIZES, NULL, (rpm_data_t *) &filesizes, &numFiles)) {