cpython: 2e0d3092249b (original) (raw)

Mercurial > cpython

changeset 69978:2e0d3092249b

Issue #8407: Use an explicit cast for FreeBSD pthread_t is a pointer, not an integer, on FreeBSD. It should fix the following gcc warning: passing argument 1 of ‘pthread_kill’ makes pointer from integer without a cast [#8407]

Victor Stinner victor.stinner@haypocalc.com
date Mon, 09 May 2011 14:45:38 +0200
parents 7a29f76db5c1
children 1f23d63b578c
files Modules/signalmodule.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Modules/signalmodule.c 2

line wrap: on

line diff

--- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -688,7 +688,7 @@ signal_pthread_kill(PyObject *self, PyOb if (!PyArg_ParseTuple(args, "li:pthread_kill", &tid, &signum)) return NULL;