chiark / gitweb /
*.pyx, defs.pxi, *.c: Fixes for 64-bit builds.
[mLib-python] / assoc.pyx
index 2a6e6e537143dde66e181540286911623ede1fe4..246bb24ca45c6175e2f672e58cdd455d484e2d05 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))