mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.
This commit is contained in:
parent
6eeaddc341
commit
5de250e823
2 changed files with 2 additions and 2 deletions
|
@ -1038,7 +1038,7 @@ int_getnewargs(PyIntObject *v)
|
|||
|
||||
static PyObject *
|
||||
int_getN(PyIntObject *v, void *context) {
|
||||
return PyInt_FromLong((intptr_t)context);
|
||||
return PyInt_FromLong((Py_intptr_t)context);
|
||||
}
|
||||
|
||||
/* Convert an integer to the given base. Returns a string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue