mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 10:33:06 +02:00
rpm: fix build on 64bit
This commit is contained in:
parent
10bf9f76b2
commit
abc91df969
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@
|
|||
}
|
||||
|
||||
-static long hdr_hash(PyObject * h)
|
||||
+static int hdr_hash(PyObject * h)
|
||||
+static Py_hash_t hdr_hash(PyObject * h)
|
||||
{
|
||||
- return (long) h;
|
||||
+ return (int) h;
|
||||
+ return (Py_hash_t) h;
|
||||
}
|
||||
|
||||
static PyObject * hdr_reduce(hdrObject *s)
|
||||
|
|
Loading…
Add table
Reference in a new issue