_pickle: Fix load_counted_tuple(), use Py_ssize_t for size

Fix a warning on Windows 64-bit.
This commit is contained in:
Victor Stinner 2016-03-14 18:09:39 +01:00
parent 1dcf4f9ee5
commit 13f0c6166f
1 changed files with 1 additions and 1 deletions

View File

@ -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;