]> granicus.if.org Git - python/commitdiff
use char instead of int to please T_BOOL (closes #15597)
authorBenjamin Peterson <benjamin@python.org>
Thu, 9 Aug 2012 00:22:50 +0000 (17:22 -0700)
committerBenjamin Peterson <benjamin@python.org>
Thu, 9 Aug 2012 00:22:50 +0000 (17:22 -0700)
Include/pyerrors.h

index 2c145ada358fff638b5b15e259fbe43029b3aa10..af37410e2338cc541624c7a78ab4e800eeea4a48 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
 #define PyException_HEAD PyObject_HEAD PyObject *dict;\
              PyObject *args; PyObject *traceback;\
              PyObject *context; PyObject *cause;\
-             int suppress_context;
+             char suppress_context;
 
 typedef struct {
     PyException_HEAD