summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-19 21:29:49 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-19 21:29:49 (GMT)
commitdff3a37afdf36263d9d10daf35d8400bda0dbbb1 (patch)
tree33b0e9b4ecde0759e00f928161d24eff99009247 /Modules/signalmodule.c
parente5065290e79795c655d46475ae7c92ef225ab90e (diff)
downloadcpython-dff3a37afdf36263d9d10daf35d8400bda0dbbb1.zip
cpython-dff3a37afdf36263d9d10daf35d8400bda0dbbb1.tar.gz
cpython-dff3a37afdf36263d9d10daf35d8400bda0dbbb1.tar.bz2
Make more warnings go away on the SGI compiler.
This is part of SF patch #424992.
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 0ce755f..340445f 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -156,7 +156,7 @@ signal_alarm(PyObject *self, PyObject *args)
if (!PyArg_Parse(args, "i", &t))
return NULL;
/* alarm() returns the number of seconds remaining */
- return PyInt_FromLong(alarm(t));
+ return PyInt_FromLong((long)alarm(t));
}
static char alarm_doc[] =