summaryrefslogtreecommitdiff
path: root/python/rpmte-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/rpmte-py.c
parent53ca9c775f5f3954f140f462d22bb28cde02c6cd (diff)
downloadrpm-d718b12f5bf5b94c418b8235e45625cbccca6220.tar.gz
rpm-d718b12f5bf5b94c418b8235e45625cbccca6220.tar.bz2
rpm-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/rpmte-py.c')
-rw-r--r--python/rpmte-py.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/rpmte-py.c b/python/rpmte-py.c
index 0ded63e7c..86f646866 100644
--- a/python/rpmte-py.c
+++ b/python/rpmte-py.c
@@ -186,7 +186,7 @@ rpmte_DS(rpmteObject * s, PyObject * args, PyObject * kwds)
{
PyObject * TagN = NULL;
rpmds ds;
- rpm_tag_t tag;
+ rpmTag tag;
char * kwlist[] = {"tag", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:DS", kwlist, &TagN))
@@ -216,7 +216,7 @@ rpmte_FI(rpmteObject * s, PyObject * args, PyObject * kwds)
{
PyObject * TagN = NULL;
rpmfi fi;
- rpm_tag_t tag;
+ rpmTag tag;
char * kwlist[] = {"tag", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:FI", kwlist, &TagN))