diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-10-28 16:35:32 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-10-28 16:35:32 +0200 |
commit | 16f9d7f4dcce8edc6458cd94ee0c7afda2c5dece (patch) | |
tree | c864c9b4e43f76390065851b3c523cbb315e6693 /python/rpmfd-py.c | |
parent | 70bebfdd7eab41d7e0aecf569692aac113958a3a (diff) | |
download | librpm-tizen-16f9d7f4dcce8edc6458cd94ee0c7afda2c5dece.tar.gz librpm-tizen-16f9d7f4dcce8edc6458cd94ee0c7afda2c5dece.tar.bz2 librpm-tizen-16f9d7f4dcce8edc6458cd94ee0c7afda2c5dece.zip |
Remove unnecessary (cmpfunc) casts from our type objects
- cmpfunc is no more in Python 3 and casting NULL to anything makes
little sense anyhow
Diffstat (limited to 'python/rpmfd-py.c')
-rw-r--r-- | python/rpmfd-py.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmfd-py.c b/python/rpmfd-py.c index 5c50a4f63..acd8f7279 100644 --- a/python/rpmfd-py.c +++ b/python/rpmfd-py.c @@ -292,7 +292,7 @@ PyTypeObject rpmfd_Type = { 0, /* tp_print */ (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ - (cmpfunc)0, /* tp_compare */ + 0, /* tp_compare */ (reprfunc)0, /* tp_repr */ 0, /* tp_as_number */ 0, /* tp_as_sequence */ |