Commit 13f0c616 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 1dcf4f9e
...@@ -4982,7 +4982,7 @@ load_counted_binunicode(UnpicklerObject *self, int nbytes) ...@@ -4982,7 +4982,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;
......
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