Index: Modules/fcntlmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/fcntlmodule.c,v retrieving revision 2.45 diff -w -u -r2.45 fcntlmodule.c --- Modules/fcntlmodule.c 28 Jul 2005 05:57:19 -0000 2.45 +++ Modules/fcntlmodule.c 1 Oct 2005 03:28:18 -0000 @@ -32,7 +32,7 @@ { int fd; int code; - int arg; + long arg; int ret; char *str; int len; @@ -59,7 +59,7 @@ PyErr_Clear(); arg = 0; if (!PyArg_ParseTuple(args, - "O&i|i;fcntl requires a file or file descriptor," + "O&i|l;fcntl requires a file or file descriptor," " an integer and optionally a third integer or a string", conv_descriptor, &fd, &code, &arg)) { return NULL;