diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 17:42:19 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 17:42:19 +0200 |
commit | d718b12f5bf5b94c418b8235e45625cbccca6220 (patch) | |
tree | 18c6fe59a6b06b2b1092a1c2e6f67f8657f27cc6 /lib/rpmts.c | |
parent | 53ca9c775f5f3954f140f462d22bb28cde02c6cd (diff) | |
download | librpm-tizen-d718b12f5bf5b94c418b8235e45625cbccca6220.tar.gz librpm-tizen-d718b12f5bf5b94c418b8235e45625cbccca6220.tar.bz2 librpm-tizen-d718b12f5bf5b94c418b8235e45625cbccca6220.zip |
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
Diffstat (limited to 'lib/rpmts.c')
-rw-r--r-- | lib/rpmts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c index 0bedb9c85..4e3dbc310 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -177,7 +177,7 @@ static int isArch(const char * arch) } /* keyp might no be defined. */ -rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpm_tag_t rpmtag, +rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmTag rpmtag, const void * keyp, size_t keylen) { rpmdbMatchIterator mi; @@ -598,7 +598,7 @@ int rpmtsSolve(rpmts ts, rpmds ds, const void * data) Header h; size_t bhnamelen; time_t bhtime; - rpm_tag_t rpmtag; + rpmTag rpmtag; const char * keyp; size_t keylen; int rc = 1; /* assume not found */ |