Commit 76557fd0 authored by Victor Stinner's avatar Victor Stinner

_pickle: Fix load_counted_tuple(), use Py_ssize_t for size

Fix a warning on Windows 64-bit.
parent 64f8ccb3
......@@ -5056,7 +5056,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment