X-Git-Url: https://git.distorted.org.uk/~mdw/mLib-python/blobdiff_plain/d65a9a847e500ae144e31040454acba1a7333aaf..78911cdb6782ddccef6de3cc913b714e10d2fc14:/codec.pyx diff --git a/codec.pyx b/codec.pyx index 1b395af..aa5e692 100644 --- a/codec.pyx +++ b/codec.pyx @@ -108,7 +108,7 @@ cdef class _BaseCodec: me.c.ops.destroy(me.c) cdef code(me, text, int finishp): cdef void *p - cdef int len + cdef Py_ssize_t len cdef dstr d cdef int err if me.c is NULL: