X-Git-Url: https://git.distorted.org.uk/~mdw/mLib-python/blobdiff_plain/78911cdb6782ddccef6de3cc913b714e10d2fc14..704500e11c6a7e240acc047607d34bc6db520f15:/unihash.pyx diff --git a/unihash.pyx b/unihash.pyx index 74217e8..de6f3d4 100644 --- a/unihash.pyx +++ b/unihash.pyx @@ -52,7 +52,7 @@ cdef class Unihash: def chunk(me, data): cdef void *p cdef Py_ssize_t n - PyObject_AsReadBuffer(data, &p, &n) + PyObject_AsReadBuffer(data, &p, &n) me._a = unihash_hash(me._i, me._a, p, n) def done(me): return _u32(me._a)