diff options
Diffstat (limited to 'sources/pyside6/libpyside/dynamicqmetaobject.cpp')
| -rw-r--r-- | sources/pyside6/libpyside/dynamicqmetaobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpyside/dynamicqmetaobject.cpp b/sources/pyside6/libpyside/dynamicqmetaobject.cpp index 95acab869..afcf95f8f 100644 --- a/sources/pyside6/libpyside/dynamicqmetaobject.cpp +++ b/sources/pyside6/libpyside/dynamicqmetaobject.cpp @@ -591,7 +591,7 @@ void MetaObjectBuilderPrivate::parsePythonType(PyTypeObject *type) basesToCheck.push_back(type); auto *sbkObjTypeF = SbkObject_TypeF(); - auto *baseObjType = reinterpret_cast<PyTypeObject *>(&PyBaseObject_Type); + auto *baseObjType = &PyBaseObject_Type; for (Py_ssize_t i = 0; i < basesCount; ++i) { auto *baseType = reinterpret_cast<PyTypeObject *>(PyTuple_GetItem(mro, i)); if (baseType != sbkObjTypeF && baseType != baseObjType |
