From 13f0c6166ff41c0971755dcb0ab7f8205f0b32a1 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 14 Mar 2016 18:09:39 +0100 Subject: [PATCH] _pickle: Fix load_counted_tuple(), use Py_ssize_t for size Fix a warning on Windows 64-bit. --- Modules/_pickle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_pickle.c b/Modules/_pickle.c index 2a070e22e7b..f500038de81 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;