summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-02-03 19:51:13 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-02-03 19:51:13 (GMT)
commite6a8074892810f551d9b1c1f16ebde9ebe9cc09d (patch)
treed694563809c3371e2217e841926dbe51a1c9e48c /Modules
parentc4b7d4e810a47c44edfb23cbcb96cf6b69839eee (diff)
downloadcpython-e6a8074892810f551d9b1c1f16ebde9ebe9cc09d.zip
cpython-e6a8074892810f551d9b1c1f16ebde9ebe9cc09d.tar.gz
cpython-e6a8074892810f551d9b1c1f16ebde9ebe9cc09d.tar.bz2
Another int -> pid_t case
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c3
1 files changed, 2 insertions, 1 deletions
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);