25c6e4
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c
25c6e4
index 997867a..2bd2f55 100644
25c6e4
--- a/Modules/fcntlmodule.c
25c6e4
+++ b/Modules/fcntlmodule.c
25c6e4
@@ -34,7 +34,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
25c6e4
 {
25c6e4
     int fd;
25c6e4
     int code;
25c6e4
-    long arg;
25c6e4
+    int arg;
25c6e4
     int ret;
25c6e4
     char *str;
25c6e4
     Py_ssize_t len;
25c6e4
@@ -61,7 +61,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
25c6e4
     PyErr_Clear();
25c6e4
     arg = 0;
25c6e4
     if (!PyArg_ParseTuple(args,
25c6e4
-         "O&i|;;fcntl requires a file or file descriptor,"
25c6e4
+         "O&i|;;fcntl requires a file or file descriptor,"
25c6e4
          " an integer and optionally a third integer or a string",
25c6e4
                           conv_descriptor, &fd, &code, &arg)) {
25c6e4
       return NULL;