mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix building binascii when not using the zlib's crc32 (build failure on Windows buildbots)
This commit is contained in:
parent
c17517589a
commit
34ed9f7c5e
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ binascii_crc32(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
result = (crc ^ 0xFFFFFFFF);
|
||||
PyBuffer_Release(&pbuf);
|
||||
PyBuffer_Release(&pbin);
|
||||
return PyLong_FromUnsignedLong(result & 0xffffffff);
|
||||
}
|
||||
#endif /* USE_ZLIB_CRC32 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue