summaryrefslogtreecommitdiff
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-19 20:48:32 +0000
committerFred Drake <fdrake@acm.org>2001-07-19 20:48:32 +0000
commit0368bc44e82b422aa1e6ddca57cba8754103b465 (patch)
tree207d2e843f9e3cbbfda5fb8293bcf3c399e738c4 /Modules/posixmodule.c
parent78bdb9bc46220449fae85fa643e1ccc33c2462e5 (diff)
downloadcpython-git-0368bc44e82b422aa1e6ddca57cba8754103b465.tar.gz
Remove warnings from the SGI compiler.
This is part of SF patch #434992.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index f17b95af04..8ff353f04b 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);