diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 3cf00d52938..d4f8048fa60 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1009,7 +1009,7 @@ wrapper_dealloc(wrapperobject *wp) static PyObject * wrapper_richcompare(PyObject *a, PyObject *b, int op) { - int result; + Py_intptr_t result; PyObject *v; PyWrapperDescrObject *a_descr, *b_descr;