There was an error while loading. Please reload this page.
1 parent 32b49f6 commit 0c14f07Copy full SHA for 0c14f07
1 file changed
Modules/_testcapi/vectorcall.c
@@ -214,7 +214,7 @@ _testcapi_make_vectorcall_class_impl(PyObject *module, PyTypeObject *base)
214
VectorCallClass_members[0].offset = base->tp_basicsize;
215
PyType_Spec spec = {
216
.name = "_testcapi.VectorcallClass",
217
- .basicsize = base->tp_basicsize + (int)sizeof(vectorcallfunc),
+ .basicsize = (int)(base->tp_basicsize + sizeof(vectorcallfunc)),
218
.flags = Py_TPFLAGS_DEFAULT
219
| Py_TPFLAGS_HAVE_VECTORCALL
220
| Py_TPFLAGS_BASETYPE,
0 commit comments