From d3dfd0e433241de76d4f3f4dba4d8ef59f09e61d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 16 May 2013 23:48:01 +0200 Subject: [PATCH] Fix a compilater warning on Windows 64-bit idx variable is used for a tuple indexn so use Py_ssize_t (not int). --- Python/ceval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/ceval.c b/Python/ceval.c index 60a71f96bf5..e184ef6a4b8 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2256,7 +2256,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) TARGET(LOAD_CLASSDEREF) { PyObject *name, *value, *locals = f->f_locals; - int idx; + Py_ssize_t idx; assert(locals); assert(oparg >= PyTuple_GET_SIZE(co->co_cellvars)); idx = oparg - PyTuple_GET_SIZE(co->co_cellvars);