Fix a compilater warning on Windows 64-bit
idx variable is used for a tuple indexn so use Py_ssize_t (not int).
This commit is contained in:
parent
3a8f510b52
commit
d3dfd0e433
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue