summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-02-04 11:50:39 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-02-04 11:50:39 +0200
commitaca6d4a2c4cb5ce76031884933661115c80ca6c1 (patch)
tree78107eee311328814e18b20e62dfbafe5c6c7ff9 /tools
parente886043a1027fabf975f5e6542437e412a137e67 (diff)
downloadrpm-aca6d4a2c4cb5ce76031884933661115c80ca6c1.tar.gz
rpm-aca6d4a2c4cb5ce76031884933661115c80ca6c1.tar.bz2
rpm-aca6d4a2c4cb5ce76031884933661115c80ca6c1.zip
Add rpm_time_t type for time types (in headers), use where spotted
- easy to spot, easy to change... - time_t size can vary, header data needs fixed size
Diffstat (limited to 'tools')
-rw-r--r--tools/rpmcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rpmcache.c b/tools/rpmcache.c
index ccafe491c..43bb2bf8c 100644
--- a/tools/rpmcache.c
+++ b/tools/rpmcache.c
@@ -45,8 +45,8 @@ static int indent = 2;
typedef struct Item_s {
char * path;
- int32_t size;
- int32_t mtime;
+ rpm_off_t size;
+ rpm_time_t mtime;
rpmds this;
Header h;
} * Item;