commit | dff3a37afdf36263d9d10daf35d8400bda0dbbb1 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Jul 19 21:29:49 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Jul 19 21:29:49 2001 +0000 |
tree | 33b0e9b4ecde0759e00f928161d24eff99009247 | |
parent | e5065290e79795c655d46475ae7c92ef225ab90e [diff] [blame] |
Make more warnings go away on the SGI compiler. This is part of SF patch #424992.
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 @@ 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[] =