diff options
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 7e07b3e..e504669 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -688,7 +688,7 @@ signal_pthread_kill(PyObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "li:pthread_kill", &tid, &signum)) return NULL; - err = pthread_kill(tid, signum); + err = pthread_kill((pthread_t)tid, signum); if (err != 0) { errno = err; PyErr_SetFromErrno(PyExc_OSError); |