Mailing List Archive

CVS: python/dist/src/Modules pwdmodule.c,1.29,1.30
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv10517/Modules

Modified Files:
pwdmodule.c
Log Message:
Add missing typecast.


Index: pwdmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pwdmodule.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** pwdmodule.c 25 Mar 2002 20:46:46 -0000 1.29
--- pwdmodule.c 29 Mar 2002 19:58:25 -0000 1.30
***************
*** 150,154 ****
{"getpwnam", pwd_getpwnam, METH_OLDARGS, pwd_getpwnam__doc__},
#ifdef HAVE_GETPWENT
! {"getpwall", pwd_getpwall, METH_NOARGS, pwd_getpwall__doc__},
#endif
{NULL, NULL} /* sentinel */
--- 150,155 ----
{"getpwnam", pwd_getpwnam, METH_OLDARGS, pwd_getpwnam__doc__},
#ifdef HAVE_GETPWENT
! {"getpwall", (PyCFunction)pwd_getpwall,
! METH_NOARGS, pwd_getpwall__doc__},
#endif
{NULL, NULL} /* sentinel */