diff options
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index f17b95a..8ff353f 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -1215,7 +1215,7 @@ posix_umask(PyObject *self, PyObject *args) int i; if (!PyArg_ParseTuple(args, "i:umask", &i)) return NULL; - i = umask(i); + i = (int)umask(i); if (i < 0) return posix_error(); return PyInt_FromLong((long)i); |