X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/d65a9a847e500ae144e31040454acba1a7333aaf..78911cdb6782ddccef6de3cc913b714e10d2fc14:/sym.pyx diff --git a/sym.pyx b/sym.pyx index e8842e6..9e97b7b 100644 --- a/sym.pyx +++ b/sym.pyx @@ -34,7 +34,7 @@ cdef class SymTable (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 _sym_entry *e PyObject_AsReadBuffer(key, &p, &n) if f: