From 0368bc44e82b422aa1e6ddca57cba8754103b465 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 19 Jul 2001 20:48:32 +0000 Subject: Remove warnings from the SGI compiler. This is part of SF patch #434992. --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/posixmodule.c') 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); -- cgit v1.2.1