mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
_pickle: Fix load_counted_tuple(), use Py_ssize_t for size
Fix a warning on Windows 64-bit.
This commit is contained in:
parent
1dcf4f9ee5
commit
13f0c6166f
1 changed files with 1 additions and 1 deletions
|
@ -4982,7 +4982,7 @@ load_counted_binunicode(UnpicklerObject *self, int nbytes)
|
|||
}
|
||||
|
||||
static int
|
||||
load_counted_tuple(UnpicklerObject *self, int len)
|
||||
load_counted_tuple(UnpicklerObject *self, Py_ssize_t len)
|
||||
{
|
||||
PyObject *tuple;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue