aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index ec88ac690..840a4ecdd 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -66,8 +66,8 @@
</template>
<template name="read_wrapper">
- char _data[%ARGUMENT_NAMES];
- qint64 _size = %CPPSELF.%FUNCTION_NAME(_data, %ARGUMENT_NAMES);
+ char _data[%2];
+ qint64 _size = %CPPSELF.%FUNCTION_NAME(_data, %2);
if (_size > 0)
return %CONVERTTOPYTHON[QByteArray](QByteArray(_data, _size));
else