*.c: Use the new `Py_hash_t' type.
[catacomb-python] / group.c
diff --git a/group.c b/group.c
index 51e0fd9..8dadb7a 100644 (file)
--- a/group.c
+++ b/group.c
@@ -912,7 +912,7 @@ static PyObject *gget_g(PyObject *me, void *hunoz)
   G_COPY(g, x, g->g); return (ge_pywrap(me, x));
 }
 
-static long ge_pyhash(PyObject *me)
+static Py_hash_t ge_pyhash(PyObject *me)
 {
   buf b;
   size_t sz = GE_G(me)->noctets + 4;