From 3a227fdf2965aa6bfc0727170419e9da6cf1fbe2 Mon Sep 17 00:00:00 2001
From: Panu Matilainen <pmatilai@redhat.com>
Date: Mon, 18 Mar 2024 09:50:05 +0200
Subject: [PATCH] Fix enum type mismatch in rpmTagGetValue()

This returns a tag value, not type.

Conflict:NA
Reference:https://github.com/rpm-software-management/rpm/commit/3a227fdf2965aa6bfc0727170419e9da6cf1fbe2

---
 lib/tagname.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tagname.c b/lib/tagname.c
index 4e7c30d2b..4748cf19c 100644
--- a/lib/tagname.c
+++ b/lib/tagname.c
@@ -171,7 +171,7 @@ rpmTagType rpmTagGetType(rpmTagVal tag)
 rpmTagVal rpmTagGetValue(const char * tagstr)
 {
     const struct headerTagTableEntry_s *t;
-    rpmTagType tagval = RPMTAG_NOT_FOUND;
+    rpmTagVal tagval = RPMTAG_NOT_FOUND;
 
     pthread_once(&tagsLoaded, loadTags);
 
-- 
2.33.0

