diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-10-01 14:06:41 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-10-01 14:17:11 +0300 |
commit | f819760dc37047d464afff8a91c746114c183a2a (patch) | |
tree | fb93e9e18cd896071a618a27ca44f70c124ca669 /python | |
parent | b0d374528a367779e158a68a7b6a58ad929b85aa (diff) | |
download | rpm-f819760dc37047d464afff8a91c746114c183a2a.tar.gz rpm-f819760dc37047d464afff8a91c746114c183a2a.tar.bz2 rpm-f819760dc37047d464afff8a91c746114c183a2a.zip |
Fix couple of recently introduced compiler warnings
Diffstat (limited to 'python')
-rw-r--r-- | python/header-py.c | 2 | ||||
-rw-r--r-- | python/rpmtd-py.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/header-py.c b/python/header-py.c index cf77431e2..31d5edd72 100644 --- a/python/header-py.c +++ b/python/header-py.c @@ -497,7 +497,7 @@ PyTypeObject hdr_Type = { 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ PyObject_SelfIter, /* tp_iter */ - hdr_iternext, /* tp_iternext */ + (iternextfunc)hdr_iternext, /* tp_iternext */ hdr_methods, /* tp_methods */ 0, /* tp_members */ 0, /* tp_getset */ diff --git a/python/rpmtd-py.c b/python/rpmtd-py.c index 51f874491..1b55e0c5f 100644 --- a/python/rpmtd-py.c +++ b/python/rpmtd-py.c @@ -165,7 +165,7 @@ PyTypeObject rpmtd_Type = { PyObject_SelfIter, /* tp_iter */ (iternextfunc)rpmtd_iternext, /* tp_iternext */ 0, /* tp_methods */ - &rpmtd_members, /* tp_members */ + rpmtd_members, /* tp_members */ 0, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ |