X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/78911cdb6782ddccef6de3cc913b714e10d2fc14..bc57ab58b54f99bc1d7a966f853c980c1f31eb3f:/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)