diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-24 04:59:05 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-24 04:59:05 +0000 |
commit | d1746a7c7888421224b618d619596d44d4e9731f (patch) | |
tree | a384c2b06c087f746aa0db3a159e431c8ca182b8 /Modules/binascii.c | |
parent | 2e866411490255e5e477be8db17dd6b166c07df9 (diff) | |
download | cpython-d1746a7c7888421224b618d619596d44d4e9731f.tar.gz |
Fix crash on 64-bit platforms
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r-- | Modules/binascii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index 034dc01c13..5ed20d5ad0 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -786,7 +786,7 @@ binascii_crc32(PyObject *self, PyObject *args) { uLong crc32val = 0; /* crc32(0L, Z_NULL, 0) */ Byte *buf; - int len; + Py_ssize_t len; if (!PyArg_ParseTuple(args, "s#|I:crc32", &buf, &len, &crc32val)) return NULL; crc32val = crc32(crc32val, buf, len); |