X-Git-Url: https://git.distorted.org.uk/~mdw/mLib-python/blobdiff_plain/5b1830f325c55c70d65fd020f08dd958493e528d..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: