diff options
-rw-r--r-- | Include/intobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/intobject.h b/Include/intobject.h index d9fd68f..cd66f75 100644 --- a/Include/intobject.h +++ b/Include/intobject.h @@ -83,7 +83,7 @@ extern DL_IMPORT(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct; /* Don't use these #define Py_True ((PyObject *) &_Py_TrueStruct) /* Macro, trading safety for speed */ -#define PyInt_AS_LONG(op) ((op)->ob_ival) +#define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) #ifdef __cplusplus } |