Fix couple of recently introduced compiler warnings

This commit is contained in:
Panu Matilainen 2009-10-01 14:06:41 +03:00
parent b0d374528a
commit f819760dc3
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */