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

Skip to content

Commit 21b4711

Browse files
committed
_pickle: Fix load_counted_tuple(), use Py_ssize_t for size
Fix a warning on Windows 64-bit.
1 parent c44f707 commit 21b4711

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_pickle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5056,7 +5056,7 @@ load_counted_binunicode(UnpicklerObject *self, int nbytes)
50565056
}
50575057

50585058
static int
5059-
load_counted_tuple(UnpicklerObject *self, int len)
5059+
load_counted_tuple(UnpicklerObject *self, Py_ssize_t len)
50605060
{
50615061
PyObject *tuple;
50625062

0 commit comments

Comments
 (0)