mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Add missing typecast.
This commit is contained in:
parent
f4a4fb9a11
commit
cc07ec17a3
1 changed files with 2 additions and 1 deletions
|
@ -149,7 +149,8 @@ static PyMethodDef pwd_methods[] = {
|
|||
{"getpwuid", pwd_getpwuid, METH_OLDARGS, pwd_getpwuid__doc__},
|
||||
{"getpwnam", pwd_getpwnam, METH_OLDARGS, pwd_getpwnam__doc__},
|
||||
#ifdef HAVE_GETPWENT
|
||||
{"getpwall", pwd_getpwall, METH_NOARGS, pwd_getpwall__doc__},
|
||||
{"getpwall", (PyCFunction)pwd_getpwall,
|
||||
METH_NOARGS, pwd_getpwall__doc__},
|
||||
#endif
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue