summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PySide/QtCore/typesystem_core_win.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core_win.xml b/PySide/QtCore/typesystem_core_win.xml
index ca59c89..9982282 100644
--- a/PySide/QtCore/typesystem_core_win.xml
+++ b/PySide/QtCore/typesystem_core_win.xml
@@ -26,7 +26,7 @@
</native-to-target>
<target-to-native>
<add-conversion type="PyCObject">
- %out = (%OUTTYPE*)PyCObject_AsVoidPtr(%in);
+ %out = *((%OUTTYPE*)PyCObject_AsVoidPtr(%in));
</add-conversion>
</target-to-native>
</conversion-rule>