diff options
| author | Fred Drake <fdrake@acm.org> | 2001-07-19 20:48:32 (GMT) | 
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2001-07-19 20:48:32 (GMT) | 
| commit | 0368bc44e82b422aa1e6ddca57cba8754103b465 (patch) | |
| tree | 207d2e843f9e3cbbfda5fb8293bcf3c399e738c4 /Modules/posixmodule.c | |
| parent | 78bdb9bc46220449fae85fa643e1ccc33c2462e5 (diff) | |
| download | cpython-0368bc44e82b422aa1e6ddca57cba8754103b465.zip cpython-0368bc44e82b422aa1e6ddca57cba8754103b465.tar.gz cpython-0368bc44e82b422aa1e6ddca57cba8754103b465.tar.bz2 | |
Remove warnings from the SGI compiler.
This is part of SF patch #434992.
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); | 
