Blame SOURCES/00275-fix-fnctl-with-integer-on-big-endian.patch

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