diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-05-07 22:44:15 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-05-07 22:44:15 (GMT) |
commit | 6f75a3e89ededd669be6517fe6f941c7a930df1b (patch) | |
tree | b9f41601750e921e4b0b11297c4be2ec6e62073a /Objects | |
parent | 70792d268eaa8f460ac32d8084171a939f19f14b (diff) | |
download | cpython-6f75a3e89ededd669be6517fe6f941c7a930df1b.zip cpython-6f75a3e89ededd669be6517fe6f941c7a930df1b.tar.gz cpython-6f75a3e89ededd669be6517fe6f941c7a930df1b.tar.bz2 |
Use Py_intptr_t to store the difference between two pointers, instead of int
Fix a compiler warning on Windows 64-bit
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/descrobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |