From: Christian Heimes Date: Sun, 3 Feb 2008 19:51:13 +0000 (+0000) Subject: Another int -> pid_t case X-Git-Tag: v2.6a1~283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6a8074892810f551d9b1c1f16ebde9ebe9cc09d;p=python Another int -> pid_t case --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 77d408468b..7c2cb12c43 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);