From 6f75a3e89ededd669be6517fe6f941c7a930df1b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 8 May 2013 00:44:15 +0200 Subject: [PATCH] Use Py_intptr_t to store the difference between two pointers, instead of int Fix a compiler warning on Windows 64-bit --- Objects/descrobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 3cf00d5293..d4f8048fa6 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; -- 2.40.0