Commit f398b8cd authored by Antoine Pitrou's avatar Antoine Pitrou

Fix building binascii when not using the zlib's crc32 (build failure on Windows buildbots)

parent c62872a4
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment