Kaydet (Commit) 6f75a3e8 authored tarafından Victor Stinner's avatar Victor Stinner

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

Fix a compiler warning on Windows 64-bit
üst 70792d26
...@@ -1009,7 +1009,7 @@ wrapper_dealloc(wrapperobject *wp) ...@@ -1009,7 +1009,7 @@ wrapper_dealloc(wrapperobject *wp)
static PyObject * static PyObject *
wrapper_richcompare(PyObject *a, PyObject *b, int op) wrapper_richcompare(PyObject *a, PyObject *b, int op)
{ {
int result; Py_intptr_t result;
PyObject *v; PyObject *v;
PyWrapperDescrObject *a_descr, *b_descr; PyWrapperDescrObject *a_descr, *b_descr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment