summaryrefslogtreecommitdiff
path: root/python/rpmts-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-02-05 17:42:19 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-02-05 17:42:19 +0200
commitd718b12f5bf5b94c418b8235e45625cbccca6220 (patch)
tree18c6fe59a6b06b2b1092a1c2e6f67f8657f27cc6 /python/rpmts-py.c
parent53ca9c775f5f3954f140f462d22bb28cde02c6cd (diff)
downloadlibrpm-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 'python/rpmts-py.c')
-rw-r--r--python/rpmts-py.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/rpmts-py.c b/python/rpmts-py.c
index 16d1eae28..103195721 100644
--- a/python/rpmts-py.c
+++ b/python/rpmts-py.c
@@ -499,7 +499,7 @@ static PyObject *
rpmts_IDTXload(rpmtsObject * s)
{
PyObject * result = NULL;
- rpm_tag_t tag = RPMTAG_INSTALLTID;
+ rpmTag tag = RPMTAG_INSTALLTID;
IDTX idtx;
if (_rpmts_debug)
@@ -539,7 +539,7 @@ static PyObject *
rpmts_IDTXglob(rpmtsObject * s)
{
PyObject * result = NULL;
- rpm_tag_t tag = RPMTAG_REMOVETID;
+ rpmTag tag = RPMTAG_REMOVETID;
char * globstr;
IDTX idtx;
@@ -1255,7 +1255,7 @@ rpmts_Match(rpmtsObject * s, PyObject * args, PyObject * kwds)
/* XXX lkey *must* be a 32 bit integer, int "works" on all known platforms. */
int lkey = 0;
int len = 0;
- rpm_tag_t tag = RPMDBI_PACKAGES;
+ rpmTag tag = RPMDBI_PACKAGES;
char * kwlist[] = {"tagNumber", "key", NULL};
if (_rpmts_debug)