aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtCore/glue/qbytearray_bufferprotocol.cpp')
-rw-r--r--PySide/QtCore/glue/qbytearray_bufferprotocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp b/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
index 03ffcb4af..acc7bb93e 100644
--- a/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
+++ b/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
@@ -18,7 +18,7 @@ static Py_ssize_t SbkQByteArray_readbufferproc(PyObject* self, Py_ssize_t segmen
if (segment || !Shiboken::Object::isValid(self))
return -1;
- QByteArray* cppSelf = Shiboken::Converter<QByteArray*>::toCpp(self);
+ QByteArray* cppSelf = %CONVERTTOCPP[QByteArray*](self);
*ptrptr = reinterpret_cast<void*>(cppSelf->data());
return cppSelf->size();
}