mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
replace Py_(u)intptr_t with the c99 standard types
This commit is contained in:
parent
3c397e4c39
commit
ca47063998
21 changed files with 86 additions and 86 deletions
|
@ -198,7 +198,7 @@ static int
|
|||
report_wakeup_write_error(void *data)
|
||||
{
|
||||
int save_errno = errno;
|
||||
errno = (int) (Py_intptr_t) data;
|
||||
errno = (int) (intptr_t) data;
|
||||
PyErr_SetFromErrno(PyExc_OSError);
|
||||
PySys_WriteStderr("Exception ignored when trying to write to the "
|
||||
"signal wakeup fd:\n");
|
||||
|
@ -277,7 +277,7 @@ trip_signal(int sig_num)
|
|||
|
||||
if (rc < 0) {
|
||||
Py_AddPendingCall(report_wakeup_write_error,
|
||||
(void *)(Py_intptr_t)errno);
|
||||
(void *)(intptr_t)errno);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue