From 2e9670810eaf1bec17245eb22a318ded13d4e4af Mon Sep 17 00:00:00 2001 From: Graham Dumpleton Date: Fri, 23 Aug 2013 21:19:11 +1000 Subject: [PATCH] Correct type for length variable to avoid compiler warnings. --- src/_wrappers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/_wrappers.c b/src/_wrappers.c index 17461a4..ccfe9fb 100644 --- a/src/_wrappers.c +++ b/src/_wrappers.c @@ -1306,7 +1306,7 @@ static PyObject *WraptFunctionWrapper_call( PyObject *result = NULL; - int len = 0; + Py_ssize_t len = 0; int i = 0; if (!kwds) { @@ -1604,7 +1604,7 @@ static PyObject *WraptBoundFunctionWrapper_call( PyObject *result = NULL; - int len = 0; + Py_ssize_t len = 0; int i = 0; if (!kwds) { @@ -1879,7 +1879,7 @@ static PyObject *WraptBoundMethodWrapper_call( PyObject *result = NULL; - int len = 0; + Py_ssize_t len = 0; int i = 0; if (self->instance == Py_None) {