chiark / gitweb /
Further fixing to use `Py_ssize_t' in place of int.
[catacomb-python] / util.c
diff --git a/util.c b/util.c
index 8a0c06c0e75c58955c40a8f783f8abb8fa75686c..ed56e99a23bbcdb21cd881ff76a6c75b8522301b 100644 (file)
--- a/util.c
+++ b/util.c
@@ -413,7 +413,7 @@ PySequenceMethods gmap_pysequence = {
   0                                    /* @sq_inplace_repeat@ */
 };
 
-int gmap_pysize(PyObject *me)
+Py_ssize_t gmap_pysize(PyObject *me)
 {
   PyObject *i = 0, *x = 0;
   int rc = -1;