summaryrefslogtreecommitdiff
path: root/python/header-py.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-11-30 21:07:08 +0000
committerjbj <devnull@localhost>2002-11-30 21:07:08 +0000
commit0046c56cf8dc3503bc6f93d7bfde34cb8a9ac5c2 (patch)
tree9c0e9442c02aa891ccf330efad9b3a5aa4bfbfe6 /python/header-py.c
parentb3c62fe13637ae987830f3a696e43b24c6caa55a (diff)
downloadrpm-0046c56cf8dc3503bc6f93d7bfde34cb8a9ac5c2.tar.gz
rpm-0046c56cf8dc3503bc6f93d7bfde34cb8a9ac5c2.tar.bz2
rpm-0046c56cf8dc3503bc6f93d7bfde34cb8a9ac5c2.zip
- upgrade to elfutils-0.63.
CVS patchset: 5906 CVS date: 2002/11/30 21:07:08
Diffstat (limited to 'python/header-py.c')
-rw-r--r--python/header-py.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/header-py.c b/python/header-py.c
index c790c93a4..deb0f4211 100644
--- a/python/header-py.c
+++ b/python/header-py.c
@@ -336,9 +336,9 @@ static int hdr_compare(hdrObject * a, hdrObject * b)
return rpmVersionCompare(a->h, b->h);
}
-static long hdr_hash(hdrObject *h)
+static long hdr_hash(PyObject * h)
{
- return h;
+ return (long) h;
}
/** \ingroup python