aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/libshiboken/voidptr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/libshiboken/voidptr.cpp')
-rw-r--r--sources/shiboken6/libshiboken/voidptr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/libshiboken/voidptr.cpp b/sources/shiboken6/libshiboken/voidptr.cpp
index a7eeb359c..ff6f6cfd5 100644
--- a/sources/shiboken6/libshiboken/voidptr.cpp
+++ b/sources/shiboken6/libshiboken/voidptr.cpp
@@ -320,7 +320,7 @@ PyTypeObject *SbkVoidPtrTypeF(void)
{
static PyTypeObject *type = nullptr;
if (!type) {
- type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpec(&SbkVoidPtrType_spec));
+ type = SbkType_FromSpec(&SbkVoidPtrType_spec);
PepType_AS_BUFFER(type) = &SbkVoidPtrObjectBufferProc;
}
return type;