summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-05-25 22:28:46 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-05-25 22:28:46 (GMT)
commitd89fc22dc6300ef3f1a8447a34f9ad2d15c722d5 (patch)
treeb53ba8b37a574273e778bed784a66415b51ef517 /Objects
parentc285e62d76248950c33152cebe5eebc50c33b951 (diff)
downloadcpython-d89fc22dc6300ef3f1a8447a34f9ad2d15c722d5.zip
cpython-d89fc22dc6300ef3f1a8447a34f9ad2d15c722d5.tar.gz
cpython-d89fc22dc6300ef3f1a8447a34f9ad2d15c722d5.tar.bz2
Patch #1494387: SVN longobject.c compiler warnings
The SIGCHECK macro defined here has always been bizarre, but it apparently causes compiler warnings on "Sun Studio 11". I believe the warnings are bogus, but it doesn't hurt to make the macro definition saner. Bugfix candidate (but I'm not going to bother).
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index cca7b38..6e4aa71 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -40,7 +40,7 @@ static PyObject *long_format(PyObject *aa, int base, int addL);
#define SIGCHECK(PyTryBlock) \
if (--_Py_Ticker < 0) { \
_Py_Ticker = _Py_CheckInterval; \
- if (PyErr_CheckSignals()) { PyTryBlock; } \
+ if (PyErr_CheckSignals()) PyTryBlock \
}
/* Normalize (remove leading zeros from) a long int object.