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 --- python/rpmmi-py.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/rpmmi-py.c') 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, -- cgit v1.2.3