commit | 6f75a3e89ededd669be6517fe6f941c7a930df1b | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed May 08 00:44:15 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed May 08 00:44:15 2013 +0200 |
tree | b9f41601750e921e4b0b11297c4be2ec6e62073a | |
parent | 70792d268eaa8f460ac32d8084171a939f19f14b [diff] |
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 3cf00d5..d4f8048 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c
@@ -1009,7 +1009,7 @@ static PyObject * wrapper_richcompare(PyObject *a, PyObject *b, int op) { - int result; + Py_intptr_t result; PyObject *v; PyWrapperDescrObject *a_descr, *b_descr;