summaryrefslogtreecommitdiff
path: root/python/rpmmi-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/rpmmi-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/rpmmi-py.c')
-rw-r--r--python/rpmmi-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c
index 4ff9832b7..3c347ac08 100644
--- a/python/rpmmi-py.c
+++ b/python/rpmmi-py.c
@@ -137,7 +137,7 @@ rpmmi_Pattern(rpmmiObject * s, PyObject * args, PyObject * kwds)
PyObject *TagN = NULL;
int type;
char * pattern;
- rpm_tag_t tag;
+ rpmTag tag;
char * kwlist[] = {"tag", "type", "patern", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "Ois:Pattern", kwlist,