From e6a8074892810f551d9b1c1f16ebde9ebe9cc09d Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 3 Feb 2008 19:51:13 +0000 Subject: Another int -> pid_t case --- Modules/posixmodule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 77d4084..7c2cb12 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6067,7 +6067,8 @@ Return the process group associated with the terminal given by a fd."); static PyObject * posix_tcgetpgrp(PyObject *self, PyObject *args) { - int fd, pgid; + int fd; + pid_t pgid; if (!PyArg_ParseTuple(args, "i:tcgetpgrp", &fd)) return NULL; pgid = tcgetpgrp(fd); -- cgit v0.12