X-Git-Url: https://git.distorted.org.uk/~mdw/mLib-python/blobdiff_plain/5b1830f325c55c70d65fd020f08dd958493e528d..6deaef4760500e22bf3c3400dbd19437e4c2a71f:/lbuf.pyx?ds=sidebyside diff --git a/lbuf.pyx b/lbuf.pyx index b80b5cc..2793e47 100644 --- a/lbuf.pyx +++ b/lbuf.pyx @@ -93,7 +93,7 @@ cdef class LineBuffer: cdef char *p return lbuf_free(&me.b, &p) def flush(me, str): - cdef int len + cdef Py_ssize_t len cdef char *p cdef char *q cdef size_t n