diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 15:29:37 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 15:29:37 +0200 |
commit | 36e9f885e161395e2dfb033dcd7db1667764f273 (patch) | |
tree | 75f4632dc8e45bfcc6b8126f6a4172b1040b3977 /rpmdb | |
parent | ceb96638f6ceba45f353c132b104543404515fed (diff) | |
download | librpm-tizen-36e9f885e161395e2dfb033dcd7db1667764f273.tar.gz librpm-tizen-36e9f885e161395e2dfb033dcd7db1667764f273.tar.bz2 librpm-tizen-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 'rpmdb')
-rw-r--r-- | rpmdb/rpmdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c index e564b4edf..ac0bbc172 100644 --- a/rpmdb/rpmdb.c +++ b/rpmdb/rpmdb.c @@ -2450,7 +2450,7 @@ memset(data, 0, sizeof(*data)); #ifdef DYING /* Add remove transaction id to header. */ if (rid != 0 && rid != -1) { - int32_t tid = rid; + rpm_tid_t tid = rid; (void) headerAddEntry(h, RPMTAG_REMOVETID, RPM_INT32_TYPE, &tid, 1); } #endif @@ -2730,7 +2730,7 @@ memset(data, 0, sizeof(*data)); xx = headerRemoveEntry(h, RPMTAG_REMOVETID); #endif if (iid != 0 && iid != -1) { - int32_t tid = iid; + rpm_tid_t tid = iid; if (!headerIsEntry(h, RPMTAG_INSTALLTID)) xx = headerAddEntry(h, RPMTAG_INSTALLTID, RPM_INT32_TYPE, &tid, 1); } |