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

This commit is contained in:
Antoine Pitrou 2008-08-15 14:51:48 +00:00
parent c17517589a
commit 34ed9f7c5e

View file

@ -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 */