Kaydet (Commit) e6a80748 authored tarafından Christian Heimes's avatar Christian Heimes

Another int -> pid_t case

üst c4b7d4e8
...@@ -6067,7 +6067,8 @@ Return the process group associated with the terminal given by a fd."); ...@@ -6067,7 +6067,8 @@ Return the process group associated with the terminal given by a fd.");
static PyObject * static PyObject *
posix_tcgetpgrp(PyObject *self, PyObject *args) posix_tcgetpgrp(PyObject *self, PyObject *args)
{ {
int fd, pgid; int fd;
pid_t pgid;
if (!PyArg_ParseTuple(args, "i:tcgetpgrp", &fd)) if (!PyArg_ParseTuple(args, "i:tcgetpgrp", &fd))
return NULL; return NULL;
pgid = tcgetpgrp(fd); pgid = tcgetpgrp(fd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment