mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Fix downcast compiler warning in Modules/_testcapi/vectorcall.c (#95729)
This commit is contained in:
parent
32b49f613a
commit
0c14f07256
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ _testcapi_make_vectorcall_class_impl(PyObject *module, PyTypeObject *base)
|
|||
VectorCallClass_members[0].offset = base->tp_basicsize;
|
||||
PyType_Spec spec = {
|
||||
.name = "_testcapi.VectorcallClass",
|
||||
.basicsize = base->tp_basicsize + (int)sizeof(vectorcallfunc),
|
||||
.basicsize = (int)(base->tp_basicsize + sizeof(vectorcallfunc)),
|
||||
.flags = Py_TPFLAGS_DEFAULT
|
||||
| Py_TPFLAGS_HAVE_VECTORCALL
|
||||
| Py_TPFLAGS_BASETYPE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue