From: Victor Stinner Date: Tue, 7 May 2013 22:44:15 +0000 (+0200) Subject: Use Py_intptr_t to store the difference between two pointers, instead of int X-Git-Tag: v3.4.0a1~766 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f75a3e89ededd669be6517fe6f941c7a930df1b;p=thirdparty%2FPython%2Fcpython.git Use Py_intptr_t to store the difference between two pointers, instead of int Fix a compiler warning on Windows 64-bit --- diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 3cf00d529380..d4f8048fa604 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;