diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2018-11-23 19:17:44 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2018-11-23 19:17:44 +0100 |
commit | 090f9ba2c8259a260780f1ed3caced796bc49d87 (patch) | |
tree | 2e2fc37794b4e622e4a7198dd2170db8b816e87c /Cython/Utility | |
parent | 72e176f545858d492c72d6424281c3a322daca98 (diff) | |
parent | 0347069ee126366f317ed7eeb2a997aab8579db5 (diff) | |
download | cython-090f9ba2c8259a260780f1ed3caced796bc49d87.tar.gz |
Merge branch 'release'
Diffstat (limited to 'Cython/Utility')
-rw-r--r-- | Cython/Utility/ObjectHandling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/ObjectHandling.c b/Cython/Utility/ObjectHandling.c index 75088f431..5c687759c 100644 --- a/Cython/Utility/ObjectHandling.c +++ b/Cython/Utility/ObjectHandling.c @@ -1964,7 +1964,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, // because f_localsplus is the last field of PyFrameObject (checked by Py_BUILD_ASSERT_EXPR below). #define __Pxy_PyFrame_Initialize_Offsets() \ ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)), \ - (void)(__pyx_pyframe_localsplus_offset = PyFrame_Type.tp_basicsize - Py_MEMBER_SIZE(PyFrameObject, f_localsplus))) + (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus))) #define __Pyx_PyFrame_GetLocalsplus(frame) \ (assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset)) #endif |