summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rpmfi.c2
-rw-r--r--lib/rpmfi.h2
2 files changed, 2 insertions, 2 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;
diff --git a/lib/rpmfi.h b/lib/rpmfi.h
index e7607c613..578189871 100644
--- a/lib/rpmfi.h
+++ b/lib/rpmfi.h
@@ -419,7 +419,7 @@ typedef rpmFlags rpmfiFlags;
* @param flags Flags to control what information is loaded.
* @return new file info set
*/
-rpmfi rpmfiNew(const rpmts ts, Header h, rpmTag tagN, rpmfiFlags flags);
+rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags);
/** \ingroup rpmfi
* Return file type from mode_t.