Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f75a3e

Browse files
committed
Use Py_intptr_t to store the difference between two pointers, instead of int
Fix a compiler warning on Windows 64-bit
1 parent 70792d2 commit 6f75a3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/descrobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ wrapper_dealloc(wrapperobject *wp)
10091009
static PyObject *
10101010
wrapper_richcompare(PyObject *a, PyObject *b, int op)
10111011
{
1012-
int result;
1012+
Py_intptr_t result;
10131013
PyObject *v;
10141014
PyWrapperDescrObject *a_descr, *b_descr;
10151015

0 commit comments

Comments
 (0)