Add missing typecast.

This commit is contained in:
Neil Schemenauer 2002-03-29 19:58:25 +00:00
parent f4a4fb9a11
commit cc07ec17a3
1 changed files with 2 additions and 1 deletions

View File

@ -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 */
};