Use Py_intptr_t to store the difference between two pointers, instead of int

Fix a compiler warning on Windows 64-bit
This commit is contained in:
Victor Stinner 2013-05-08 00:44:15 +02:00
parent 70792d268e
commit 6f75a3e89e
1 changed files with 1 additions and 1 deletions

View File

@ -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;