~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*.pyx, defs.pxi, *.c: Fixes for 64-bit builds.
[mLib-python]
/
unihash.pyx
diff --git
a/unihash.pyx
b/unihash.pyx
index
5b58d78
..
74217e8
100644
(file)
--- a/
unihash.pyx
+++ b/
unihash.pyx
@@
-51,7
+51,7
@@
cdef class Unihash:
me._a = UNIHASH_INIT(me._i)
def chunk(me, data):
cdef void *p
- cdef
in
t n
+ cdef
Py_ssize_
t n
PyObject_AsReadBuffer(data, &p, &n)
me._a = unihash_hash(me._i, me._a, p, n)
def done(me):