Another int -> pid_t case

This commit is contained in:
Christian Heimes 2008-02-03 19:51:13 +00:00
parent c4b7d4e810
commit e6a8074892
1 changed files with 2 additions and 1 deletions

View File

@ -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);