diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 11:33:32 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 11:33:32 +0300 |
commit | 327ad093ef20d25de2ce65eaa0c79525f1b25219 (patch) | |
tree | c6939e7ff36c4e90e4712dc12e11b41da35cbd0f /lib/rpmfi.c | |
parent | f955db901b1a84b39906281a7e35d3147ef3df69 (diff) | |
download | librpm-tizen-327ad093ef20d25de2ce65eaa0c79525f1b25219.tar.gz librpm-tizen-327ad093ef20d25de2ce65eaa0c79525f1b25219.tar.bz2 librpm-tizen-327ad093ef20d25de2ce65eaa0c79525f1b25219.zip |
Change rpmfiNew() tag argument to rpmTagVal
- The argument is actually unused, but that only makes it even more
stupid to require C++ callers to potentially having to cast.
Diffstat (limited to 'lib/rpmfi.c')
-rw-r--r-- | lib/rpmfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c index d1c69c5b1..1a484a432 100644 --- a/lib/rpmfi.c +++ b/lib/rpmfi.c @@ -1118,7 +1118,7 @@ static scidx_t *cacheTag(strcache cache, Header h, rpmTag tag) if (headerGet((_h), (_tag), (_td), (_flags))) \ _data = (td.data) -rpmfi rpmfiNew(const rpmts ts, Header h, rpmTag tagN, rpmfiFlags flags) +rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags) { rpmfi fi = NULL; rpm_loff_t *asize = NULL; |