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)
commit13f0c6166ff41c0971755dcb0ab7f8205f0b32a1 (patch)
tree0687d6446d2ab662c17fd561cd0011e1027bb40b /Modules/_pickle.c
parent1dcf4f9ee5b60f23291a377353b3dceca7cc9dc9 (diff)
downloadcpython-13f0c6166ff41c0971755dcb0ab7f8205f0b32a1.zip
cpython-13f0c6166ff41c0971755dcb0ab7f8205f0b32a1.tar.gz
cpython-13f0c6166ff41c0971755dcb0ab7f8205f0b32a1.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 2a070e2..f500038 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -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;