_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 c44f70770b
commit 21b47117ac
1 changed files with 1 additions and 1 deletions

View File

@ -5056,7 +5056,7 @@ load_counted_binunicode(UnpicklerObject *self, int nbytes)
} }
static int static int
load_counted_tuple(UnpicklerObject *self, int len) load_counted_tuple(UnpicklerObject *self, Py_ssize_t len)
{ {
PyObject *tuple; PyObject *tuple;