summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-02-05 15:29:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-02-05 15:29:37 +0200
commit36e9f885e161395e2dfb033dcd7db1667764f273 (patch)
tree75f4632dc8e45bfcc6b8126f6a4172b1040b3977 /tools
parentceb96638f6ceba45f353c132b104543404515fed (diff)
downloadrpm-36e9f885e161395e2dfb033dcd7db1667764f273.tar.gz
rpm-36e9f885e161395e2dfb033dcd7db1667764f273.tar.bz2
rpm-36e9f885e161395e2dfb033dcd7db1667764f273.zip
Yet another typedef for transaction ID, use where spotted
- most remaining [u]int16|32 uses are indexes and such, ie actual numbers
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 43bb2bf8c..23f08c0d4 100644
--- a/tools/rpmcache.c
+++ b/tools/rpmcache.c
@@ -107,7 +107,7 @@ static int ftsCachePrint(rpmts ts, FILE * fp)
static int ftsCacheUpdate(rpmts ts)
{
HGE_t hge = (HGE_t)headerGetEntryMinMemory;
- int32_t tid = rpmtsGetTid(ts);
+ rpm_tid_t tid = rpmtsGetTid(ts);
rpmdbMatchIterator mi;
unsigned char * md5;
int rc = 0;
@@ -572,7 +572,7 @@ main(int argc, char *argv[])
vsflags |= RPMVSF_NOHDRCHK;
(void) rpmtsSetVSFlags(ts, vsflags);
- { int32_t tid = (int32_t) time(NULL);
+ { rpm_tid_t tid = (rpm_tid_t) time(NULL);
(void) rpmtsSetTid(ts, tid);
}