summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-14 17:09:39 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-14 17:09:39 (GMT)
commit21b47117ac061f0ba08219aa1a6d81a4a5a9c483 (patch)
tree9cf3ee15ad4a19dafbfa26f0f62341a12720129d /Modules/_pickle.c
parentc44f70770bf629469a5a179b643e53dfeca884ad (diff)
downloadcpython-21b47117ac061f0ba08219aa1a6d81a4a5a9c483.zip
cpython-21b47117ac061f0ba08219aa1a6d81a4a5a9c483.tar.gz
cpython-21b47117ac061f0ba08219aa1a6d81a4a5a9c483.tar.bz2
_pickle: Fix load_counted_tuple(), use Py_ssize_t for size
Fix a warning on Windows 64-bit.
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r--Modules/_pickle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index bb3330a..5c3530b 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -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;