summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-04-03 08:04:22 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-04-03 08:04:22 +0300
commit999248ab03133f3a2b92b64885e691d133a38b36 (patch)
tree60feb0efdc188fae0fe8680c3ff0ef9a665dfdcc /python
parent62b46347770c31c6702983777b47d986c1db756b (diff)
downloadrpm-999248ab03133f3a2b92b64885e691d133a38b36.tar.gz
rpm-999248ab03133f3a2b92b64885e691d133a38b36.tar.bz2
rpm-999248ab03133f3a2b92b64885e691d133a38b36.zip
Shut up a few silly compiler warnings that have crept in
- missing cast in python header subscript - (false) warning about uninitialized variable, unused variable in rpmfc - missing include in rpmio
Diffstat (limited to 'python')
-rw-r--r--python/header-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/header-py.c b/python/header-py.c
index 23b9ebb4d..f13b51fed 100644
--- a/python/header-py.c
+++ b/python/header-py.c
@@ -570,7 +570,7 @@ static PyObject * hdr_getattro(PyObject * o, PyObject * n)
PyObject * res;
res = PyObject_GenericGetAttr(o, n);
if (res == NULL)
- res = hdr_subscript(o, n);
+ res = hdr_subscript((hdrObject *)o, n);
return res;
}