From d718b12f5bf5b94c418b8235e45625cbccca6220 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 5 Feb 2008 17:42:19 +0200 Subject: Mass convert (back) to rpmTag as it's usable everywhere now - cast away a few cases where the enum usage causes ridiculous amount of compiler warnings from unhandled switch-cases --- tools/rpminject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/rpminject.c b/tools/rpminject.c index a097ebee9..03f3011da 100644 --- a/tools/rpminject.c +++ b/tools/rpminject.c @@ -119,7 +119,7 @@ static enum cvtaction convertAMD(enum cvtaction ca, rpmTagType type, return ca; } -static enum cvtaction convertExistingAMD(rpm_tag_t tag, rpmTagType type, +static enum cvtaction convertExistingAMD(rpmTag tag, rpmTagType type, rpm_data_t valsp, rpm_count_t *countp, void ** nvalsp, rpm_count_t *ncountp, cmd_t *cmds[], int ncmds) { @@ -193,7 +193,7 @@ static enum cvtaction convertExistingAMD(rpm_tag_t tag, rpmTagType type, static Header headerCopyWithConvert(Header h, cmd_t *cmds[], int ncmds) { - rpm_tag_t tag; + rpmTag tag; rpmTagType type; rpm_count_t count; rpm_data_t vals; -- cgit v1.2.3