aboutsummaryrefslogtreecommitdiffstats
path: root/shibokenmodule
diff options
context:
space:
mode:
authorBrett Dixon <theiviaxx@users.noreply.github.com>2015-07-20 17:30:24 -0700
committerBrett Dixon <theiviaxx@users.noreply.github.com>2015-07-20 17:30:24 -0700
commitc53512f412d2e263328726fc59f5be9cb3be1acb (patch)
treeb6c5e8a46df88283a182dbdb4dcdca99b470862c /shibokenmodule
parent81e19b94a2ae7c2daec94d7422cc3700734dc459 (diff)
Update typesystem_shiboken.xml
When trying to create windows with wrapInstance on 64bit windows, the widget handle could be beyond an unsigned long and crash pyside.
Diffstat (limited to 'shibokenmodule')
-rw-r--r--shibokenmodule/typesystem_shiboken.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/shibokenmodule/typesystem_shiboken.xml b/shibokenmodule/typesystem_shiboken.xml
index b3d205944..98d3ed132 100644
--- a/shibokenmodule/typesystem_shiboken.xml
+++ b/shibokenmodule/typesystem_shiboken.xml
@@ -17,7 +17,7 @@
</inject-code>
</add-function>
- <add-function signature="wrapInstance(unsigned long, PyType)" return-type="PyObject*">
+ <add-function signature="wrapInstance(size_t, PyType)" return-type="PyObject*">
<inject-code>
if (Shiboken::ObjectType::checkType((PyTypeObject*)%2))
%PYARG_0 = Shiboken::Object::newObject((SbkObjectType*)%2, (void*)%1, false, true);