Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34ed9f7

Browse files
committed
Fix building binascii when not using the zlib's crc32 (build failure on Windows buildbots)
1 parent c175175 commit 34ed9f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/binascii.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ binascii_crc32(PyObject *self, PyObject *args)
10281028
}
10291029

10301030
result = (crc ^ 0xFFFFFFFF);
1031-
PyBuffer_Release(&pbuf);
1031+
PyBuffer_Release(&pbin);
10321032
return PyLong_FromUnsignedLong(result & 0xffffffff);
10331033
}
10341034
#endif /* USE_ZLIB_CRC32 */

0 commit comments

Comments
 (0)