*.pyx, defs.pxi, *.c: Fixes for 64-bit builds.
[mLib-python] / assoc.pyx
index 2a6e6e5..246bb24 100644 (file)
--- a/assoc.pyx
+++ b/assoc.pyx
@@ -34,7 +34,7 @@ cdef class AssocTable (Mapping):
     return 0
   cdef void *_find(me, object key, unsigned *f) except NULL:
     cdef void *p
-    cdef int n
+    cdef Py_ssize_t n
     cdef _assoc_entry *e
     cdef atom *a
     a = ATOM_A(atom_pyintern(key))